OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 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(); | |
gab
2017/06/22 16:03:59
None of the callers require a refptr (some are eve
gab
2017/06/22 16:10:18
Nvm, looks like you do need the refptr in one plac
Sigurður Ásgeirsson
2017/06/22 18:47:28
Acknowledged.
Sigurður Ásgeirsson
2017/06/22 18:47:28
Acknowledged.
| |
15 | |
16 } // namespace content | |
17 | |
18 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_TASK_RUNNER_H_ | |
OLD | NEW |