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

Unified Diff: components/task_scheduler_util/initialization_util.h

Issue 2506693002: Enable Initialization of the Task Scheduler by Default in the Browser Process (Closed)
Patch Set: Rebase to 8f211d4 Unroll SequencedWorkerPool changes due to revert Created 4 years, 1 month 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 | « components/task_scheduler_util/DEPS ('k') | components/task_scheduler_util/initialization_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/task_scheduler_util/initialization_util.h
diff --git a/components/task_scheduler_util/initialization_util.h b/components/task_scheduler_util/initialization_util.h
index cb501751b3ee7d5a43e8cb0e6c153e98dcf6115d..85a3ac5affd63bebc55ffad5e2e0fe2b685c2d5d 100644
--- a/components/task_scheduler_util/initialization_util.h
+++ b/components/task_scheduler_util/initialization_util.h
@@ -5,17 +5,12 @@
#ifndef COMPONENTS_TASK_SCHEDULER_UTIL_INITIALIZATION_UTIL_H_
#define COMPONENTS_TASK_SCHEDULER_UTIL_INITIALIZATION_UTIL_H_
-#include <map>
-#include <string>
-
namespace task_scheduler_util {
// Calls base::TaskScheduler::CreateAndSetDefaultTaskScheduler with arguments
-// derived from |variation_params|. Returns false on failure. |variation_params|
-// is expected to come from the variations component and map a thread pool name
-// to thread pool parameters.
-bool InitializeDefaultTaskScheduler(
- const std::map<std::string, std::string>& variation_params);
+// derived from the variations system or a default known good set of arguments
+// if the variations parameters are invalid or missing.
+void InitializeDefaultBrowserTaskScheduler();
} // namespace task_scheduler_util
« no previous file with comments | « components/task_scheduler_util/DEPS ('k') | components/task_scheduler_util/initialization_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698