Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 1c7ce3b7eb720ea5a87af2bd1158e39a2da07c23..0b189b8c29b66ca0a49ffa3491d65f1fb2fd12b3 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -142,6 +142,7 @@ |
#include "components/signin/core/common/profile_management_switches.h" |
#include "components/spellcheck/spellcheck_build_features.h" |
#include "components/startup_metric_utils/browser/startup_metric_host_impl.h" |
+#include "components/task_scheduler_util/initialization_util.h" |
#include "components/translate/core/common/translate_switches.h" |
#include "components/url_formatter/url_fixer.h" |
#include "components/variations/variations_associated_data.h" |
@@ -3306,3 +3307,15 @@ void ChromeContentBrowserClient::CreateMediaRemoter( |
#endif |
} |
#endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) |
+ |
+void ChromeContentBrowserClient::GetTaskSchedulerInitializationParams( |
+ std::vector<base::SchedulerWorkerPoolParams>* params_vector, |
+ base::TaskScheduler::WorkerPoolIndexForTraitsCallback* |
+ index_to_traits_callback) { |
+ task_scheduler_util::GetBrowserTaskSchedulerInitParameters( |
fdoray
2016/12/01 15:26:21
InitializationParams vs InitParameters: Use the sa
robliao
2016/12/06 01:31:30
Done.
|
+ params_vector, index_to_traits_callback); |
+} |
+ |
+void ChromeContentBrowserClient::PerformRedirectionToTaskScheduler() { |
+ task_scheduler_util::MaybePerformRedirectionToTaskScheduler(); |
+} |