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

Unified Diff: components/task_scheduler_util/initialization/browser_util.cc

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/initialization/browser_util.cc
diff --git a/components/task_scheduler_util/initialization/browser_util.cc b/components/task_scheduler_util/initialization/browser_util.cc
deleted file mode 100644
index 5dccd9987ad49ab24cc3d2417c2dfd1880685161..0000000000000000000000000000000000000000
--- a/components/task_scheduler_util/initialization/browser_util.cc
+++ /dev/null
@@ -1,23 +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.
-
-#include "components/task_scheduler_util/initialization/browser_util.h"
-
-#include "components/task_scheduler_util/browser/initialization.h"
-
-namespace task_scheduler_util {
-namespace initialization {
-
-// Returns the worker pool index for |traits| defaulting to FOREGROUND or
-// FOREGROUND_FILE_IO on any priorities other than background.
-size_t BrowserWorkerPoolIndexForTraits(const base::TaskTraits& traits) {
- return ::task_scheduler_util::BrowserWorkerPoolIndexForTraits(traits);
-}
-
-} // namespace initialization
-} // namespace task_scheduler_util
« no previous file with comments | « components/task_scheduler_util/initialization/browser_util.h ('k') | components/task_scheduler_util/variations/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698