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

Unified Diff: base/task_scheduler/task_scheduler_impl.h

Issue 2700253002: Redirect SingleThreadTaskRunner creation to the SchedulerSingleThreadTaskRunnerManager (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/task_scheduler/task_scheduler_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/task_scheduler_impl.h
diff --git a/base/task_scheduler/task_scheduler_impl.h b/base/task_scheduler/task_scheduler_impl.h
index 1e80d5c5d17d4bcc68f0817a1fafa9123c7b6bae..5a83d0a6dbeacdc4271e8dbdefb7b59352522ad9 100644
--- a/base/task_scheduler/task_scheduler_impl.h
+++ b/base/task_scheduler/task_scheduler_impl.h
@@ -28,6 +28,7 @@ class SchedulerWorkerPoolParams;
namespace internal {
class DelayedTaskManager;
+class SchedulerSingleThreadTaskRunnerManager;
class TaskTracker;
// Default TaskScheduler implementation. This class is thread-safe.
@@ -80,6 +81,8 @@ class BASE_EXPORT TaskSchedulerImpl : public TaskScheduler {
Thread service_thread_;
std::unique_ptr<TaskTracker> task_tracker_;
std::unique_ptr<DelayedTaskManager> delayed_task_manager_;
+ std::unique_ptr<SchedulerSingleThreadTaskRunnerManager>
+ single_thread_task_runner_manager_;
const WorkerPoolIndexForTraitsCallback worker_pool_index_for_traits_callback_;
std::vector<std::unique_ptr<SchedulerWorkerPoolImpl>> worker_pools_;
« no previous file with comments | « no previous file | base/task_scheduler/task_scheduler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698