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 3eb79311ac1be52c93e76f23316600fc3486cf3b..4907ce2df266e91e6aac6de9df4f213a1fa419dd 100644 |
--- a/base/task_scheduler/task_scheduler_impl.h |
+++ b/base/task_scheduler/task_scheduler_impl.h |
@@ -18,6 +18,7 @@ |
#include "base/task_scheduler/delayed_task_manager.h" |
#include "base/task_scheduler/scheduler_single_thread_task_runner_manager.h" |
#include "base/task_scheduler/scheduler_worker_pool_impl.h" |
+#include "base/task_scheduler/single_thread_task_runner_thread_mode.h" |
#include "base/task_scheduler/task_scheduler.h" |
#include "base/task_scheduler/task_tracker.h" |
#include "base/task_scheduler/task_traits.h" |
@@ -52,10 +53,12 @@ class BASE_EXPORT TaskSchedulerImpl : public TaskScheduler { |
scoped_refptr<SequencedTaskRunner> CreateSequencedTaskRunnerWithTraits( |
const TaskTraits& traits) override; |
scoped_refptr<SingleThreadTaskRunner> CreateSingleThreadTaskRunnerWithTraits( |
- const TaskTraits& traits) override; |
+ const TaskTraits& traits, |
+ SingleThreadTaskRunnerThreadMode thread_mode) override; |
#if defined(OS_WIN) |
scoped_refptr<SingleThreadTaskRunner> CreateCOMSTATaskRunnerWithTraits( |
- const TaskTraits& traits) override; |
+ const TaskTraits& traits, |
+ SingleThreadTaskRunnerThreadMode thread_mode) override; |
#endif // defined(OS_WIN) |
std::vector<const HistogramBase*> GetHistograms() const override; |
int GetMaxConcurrentTasksWithTraitsDeprecated( |