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

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: CR Feedback + Centralization 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
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..57f374f875c4dbbc77409b806cfb6d96f7329d4b 100644
--- a/components/task_scheduler_util/initialization_util.h
+++ b/components/task_scheduler_util/initialization_util.h
@@ -5,17 +5,11 @@
#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.
fdoray 2016/11/16 19:23:59 , or default arguments if arguments are missing or
robliao 2016/11/16 19:42:56 Changed.
+void InitializeDefaultBrowserTaskScheduler();
} // namespace task_scheduler_util

Powered by Google App Engine
This is Rietveld 408576698