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

Unified Diff: components/task_scheduler_util/renderer/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
Index: components/task_scheduler_util/renderer/initialization.h
diff --git a/components/task_scheduler_util/renderer/initialization.h b/components/task_scheduler_util/renderer/initialization.h
index 34174923f754e82c36d75cc2b7c22df2996b2f9d..9199c6bb198ca5a72032e0f65953457d29913b32 100644
--- a/components/task_scheduler_util/renderer/initialization.h
+++ b/components/task_scheduler_util/renderer/initialization.h
@@ -5,18 +5,10 @@
#ifndef COMPONENTS_TASK_SCHEDULER_UTIL_RENDERER_INITIALIZATION_H_
#define COMPONENTS_TASK_SCHEDULER_UTIL_RENDERER_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 a
@@ -25,20 +17,6 @@ namespace task_scheduler_util {
std::unique_ptr<base::TaskScheduler::InitParams>
GetRendererTaskSchedulerInitParamsFromCommandLine();
-// Gets a vector of SchedulerWorkerPoolParams to initialize TaskScheduler in a
-// renderer based off variation params specified on the command line. Returns an
-// empty vector if variation params specified on the command line are incomplete
-// or invalid.
-//
-// Deprecated. https://crbug.com/690706
-std::vector<base::SchedulerWorkerPoolParams> GetRendererWorkerPoolParams();
-
-// Maps |traits| to the index of a renderer worker pool vector provided by
-// GetRendererWorkerPoolParams().
-//
-// Deprecated. https://crbug.com/690706
-size_t RendererWorkerPoolIndexForTraits(const base::TaskTraits& traits);
-
} // namespace task_scheduler_util
#endif // COMPONENTS_TASK_SCHEDULER_UTIL_RENDERER_INITIALIZATION_H_
« no previous file with comments | « components/task_scheduler_util/browser/initialization.cc ('k') | components/task_scheduler_util/renderer/initialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698