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

Side by Side Diff: components/task_scheduler_util/initialization_util.h

Issue 2539263003: Move Task Scheduler Initialization From chrome/browser to Content (Closed)
Patch Set: Rebase to bf8e2f1 Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_TASK_SCHEDULER_UTIL_INITIALIZATION_UTIL_H_ 5 #ifndef COMPONENTS_TASK_SCHEDULER_UTIL_INITIALIZATION_UTIL_H_
6 #define COMPONENTS_TASK_SCHEDULER_UTIL_INITIALIZATION_UTIL_H_ 6 #define COMPONENTS_TASK_SCHEDULER_UTIL_INITIALIZATION_UTIL_H_
7 7
8 #include "build/build_config.h"
9
8 namespace task_scheduler_util { 10 namespace task_scheduler_util {
9 11
10 // Calls base::TaskScheduler::CreateAndSetDefaultTaskScheduler with arguments 12 // Calls base::TaskScheduler::CreateAndSetDefaultTaskScheduler with arguments
11 // derived from the variations system or a default known good set of arguments 13 // derived from the variations system or a default known good set of arguments
12 // if the variations parameters are invalid or missing. 14 // if the variations parameters are invalid or missing.
13 void InitializeDefaultBrowserTaskScheduler(); 15 void InitializeDefaultBrowserTaskScheduler();
14 16
15 } // namespace task_scheduler_util 17 } // namespace task_scheduler_util
16 18
17 #endif // BASE_TASK_SCHEDULER_INITIALIZATION_UTIL_H_ 19 #endif // BASE_TASK_SCHEDULER_INITIALIZATION_UTIL_H_
OLDNEW
« no previous file with comments | « components/task_scheduler_util/initialization/browser_util.cc ('k') | components/task_scheduler_util/initialization_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698