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

Unified Diff: components/task_scheduler_util/variations/browser_variations_util.h

Issue 2626783002: Remove old APIs from components/task_scheduler_util/. (Closed)
Patch Set: fix build error Created 3 years, 11 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/variations/browser_variations_util.h
diff --git a/components/task_scheduler_util/variations/browser_variations_util.h b/components/task_scheduler_util/variations/browser_variations_util.h
deleted file mode 100644
index b0857c9d861f2b24a4278f6c58f53490c8f2ce88..0000000000000000000000000000000000000000
--- a/components/task_scheduler_util/variations/browser_variations_util.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// TODO(fdoray): Remove this file once TaskScheduler initialization in the
-// browser process uses the components/task_scheduler_util/browser/ API on all
-// platforms.
-
-#ifndef COMPONENTS_TASK_SCHEDULER_UTIL_VARIATIONS_BROWSER_VARIATIONS_UTIL_H_
-#define COMPONENTS_TASK_SCHEDULER_UTIL_VARIATIONS_BROWSER_VARIATIONS_UTIL_H_
-
-#include <vector>
-
-#include "base/task_scheduler/scheduler_worker_pool_params.h"
-
-namespace task_scheduler_util {
-namespace variations {
-
-// Gets the browser SchedulerWorkerPoolParams vector based off of variations.
-// Returns an empty vector on failure.
-std::vector<base::SchedulerWorkerPoolParams>
-GetBrowserSchedulerWorkerPoolParamsFromVariations();
-
-// Redirects zero-to-many PostTask APIs to the browser task scheduler based off
-// of input from the variations parameters.
-void MaybePerformBrowserTaskSchedulerRedirection();
-
-} // variations
-} // namespace task_scheduler_util
-
-#endif // COMPONENTS_TASK_SCHEDULER_UTIL_VARIATIONS_BROWSER_VARIATIONS_UTIL_H_
« no previous file with comments | « components/task_scheduler_util/variations/DEPS ('k') | components/task_scheduler_util/variations/browser_variations_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698