Chromium Code Reviews| 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/single_thread_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::SingleThreadTaskRunner> | |
|
gab
2017/06/21 19:42:24
What's the reason this couldn't be a SequencedTask
Sigurður Ásgeirsson
2017/06/22 14:50:09
There was something that barfed on base::DelayTime
gab
2017/06/22 16:03:59
Yes base::Timer is now sequence-friendly
Sigurður Ásgeirsson
2017/06/22 18:47:28
Acknowledged.
| |
| 15 GetDownloadTaskRunner(); | |
| 16 | |
| 17 } // namespace content | |
| 18 | |
| 19 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_TASK_RUNNER_H_ | |
| OLD | NEW |