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

Unified Diff: base/task_scheduler/task_scheduler.cc

Issue 2845913004: Remove TaskScheduler::CreateAndSetDefaultTaskScheduler(). (Closed)
Patch Set: fix-build-error 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 | « base/task_scheduler/task_scheduler.h ('k') | base/test/scoped_async_task_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/task_scheduler.cc
diff --git a/base/task_scheduler/task_scheduler.cc b/base/task_scheduler/task_scheduler.cc
index f6a3bd6946b4ef1f6fb1392a5d7aa743a138753d..ee2ccf441418bc67453b986d2603d0c08345c6bd 100644
--- a/base/task_scheduler/task_scheduler.cc
+++ b/base/task_scheduler/task_scheduler.cc
@@ -71,13 +71,6 @@ void TaskScheduler::Create(StringPiece name) {
SetInstance(MakeUnique<internal::TaskSchedulerImpl>(name));
}
-void TaskScheduler::CreateAndSetDefaultTaskScheduler(
- StringPiece name,
- const InitParams& init_params) {
- Create(name);
- GetInstance()->Start(init_params);
-}
-
// static
void TaskScheduler::SetInstance(std::unique_ptr<TaskScheduler> task_scheduler) {
delete g_task_scheduler;
« no previous file with comments | « base/task_scheduler/task_scheduler.h ('k') | base/test/scoped_async_task_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698