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 f49cccc80e4856833aab0a632b87971c14e9bcc8..9fea54a45153cf1c8377e79001f667f85c2b1967 100644 |
--- a/base/task_scheduler/task_scheduler_impl.h |
+++ b/base/task_scheduler/task_scheduler_impl.h |
@@ -79,15 +79,11 @@ class BASE_EXPORT TaskSchedulerImpl : public TaskScheduler { |
// worker pops a Task from it. |
void ReEnqueueSequenceCallback(scoped_refptr<Sequence> sequence); |
- // Callback invoked when the delayed run time is changed from the |
- // DelayedTaskManager. |
- void OnDelayedRunTimeUpdated(); |
- |
TaskTracker task_tracker_; |
- DelayedTaskManager delayed_task_manager_; |
+ Thread service_thread_; |
+ std::unique_ptr<DelayedTaskManager> delayed_task_manager_; |
const WorkerPoolIndexForTraitsCallback worker_pool_index_for_traits_callback_; |
std::vector<std::unique_ptr<SchedulerWorkerPoolImpl>> worker_pools_; |
- std::unique_ptr<SchedulerServiceThread> service_thread_; |
#if DCHECK_IS_ON() |
// Set once JoinForTesting() has returned. |