Index: components/task_scheduler_util/browser/initialization.h |
diff --git a/components/task_scheduler_util/browser/initialization.h b/components/task_scheduler_util/browser/initialization.h |
index 9c660507112f10ddd7c0587638a2781334acb2e6..46ad21860f2e54c32843e6edbf57fd76a1f5cfdb 100644 |
--- a/components/task_scheduler_util/browser/initialization.h |
+++ b/components/task_scheduler_util/browser/initialization.h |
@@ -5,18 +5,10 @@ |
#ifndef COMPONENTS_TASK_SCHEDULER_UTIL_BROWSER_INITIALIZATION_H_ |
#define COMPONENTS_TASK_SCHEDULER_UTIL_BROWSER_INITIALIZATION_H_ |
-#include <stddef.h> |
- |
#include <memory> |
-#include <vector> |
-#include "base/task_scheduler/scheduler_worker_pool_params.h" |
#include "base/task_scheduler/task_scheduler.h" |
-namespace base { |
-class TaskTraits; |
-} |
- |
namespace task_scheduler_util { |
// Gets a TaskScheduler::InitParams object to initialize TaskScheduler in the |
@@ -24,19 +16,6 @@ namespace task_scheduler_util { |
std::unique_ptr<base::TaskScheduler::InitParams> |
GetBrowserTaskSchedulerInitParamsFromVariations(); |
-// Gets a vector of SchedulerWorkerPoolParams to initialize TaskScheduler in the |
-// browser based off variations. Returns an empty vector on failure. |
-// |
-// Deprecated. https://crbug.com/690706 |
-std::vector<base::SchedulerWorkerPoolParams> |
-GetBrowserWorkerPoolParamsFromVariations(); |
- |
-// Maps |traits| to the index of a browser worker pool vector provided by |
-// GetBrowserWorkerPoolParamsFromVariations(). |
-// |
-// Deprecated. https://crbug.com/690706 |
-size_t BrowserWorkerPoolIndexForTraits(const base::TaskTraits& traits); |
- |
// Redirects zero-to-many PostTask APIs to the browser task scheduler based off |
// variations. |
void MaybePerformBrowserTaskSchedulerRedirection(); |