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

Unified Diff: components/task_scheduler_util/browser/initialization.h

Issue 2799453002: Remove deprecated functions from components/task_scheduler_util/. (Closed)
Patch Set: Created 3 years, 8 months 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 | « no previous file | components/task_scheduler_util/browser/initialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | components/task_scheduler_util/browser/initialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698