Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: content/browser/download/download_task_runner.h

Issue 2890853002: Downloads: replace BrowserThread::FILE with task scheduler. (Closed)
Patch Set: Address Avi's comments. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_TASK_RUNNER_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_TASK_RUNNER_H_
7
8 #include "base/sequenced_task_runner.h"
9 #include "content/common/content_export.h"
10
11 namespace content {
12
13 // Returns the task runner used to save files and do other blocking operations.
14 CONTENT_EXPORT scoped_refptr<base::SequencedTaskRunner> GetDownloadTaskRunner();
15
16 } // namespace content
17
18 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_TASK_RUNNER_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_resource_handler.cc ('k') | content/browser/download/download_task_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698