OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 // TODO(fdoray): Remove this file once TaskScheduler initialization in the | |
6 // browser process uses the components/task_scheduler_util/browser/ API on all | |
7 // platforms. | |
8 | |
9 #include "components/task_scheduler_util/variations/browser_variations_util.h" | |
10 | |
11 #include "components/task_scheduler_util/browser/initialization.h" | |
12 | |
13 namespace task_scheduler_util { | |
14 namespace variations { | |
15 | |
16 std::vector<base::SchedulerWorkerPoolParams> | |
17 GetBrowserSchedulerWorkerPoolParamsFromVariations() { | |
18 return ::task_scheduler_util::GetBrowserWorkerPoolParamsFromVariations(); | |
19 } | |
20 | |
21 void MaybePerformBrowserTaskSchedulerRedirection() { | |
22 ::task_scheduler_util::MaybePerformBrowserTaskSchedulerRedirection(); | |
23 } | |
24 | |
25 } // variations | |
26 } // namespace task_scheduler_util | |
OLD | NEW |