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

Unified Diff: chrome/service/service_process.cc

Issue 2729523006: Remove the |max_threads| argument from CreateAndSetSimpleTaskScheduler(). (Closed)
Patch Set: fix build error Created 3 years, 9 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 | « chrome/app/mash/mash_runner.cc ('k') | components/cronet/ios/cronet_environment.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_process.cc
diff --git a/chrome/service/service_process.cc b/chrome/service/service_process.cc
index 394bc25575e7dd066f6f61c5ef60c28069eecfeb..6cede6d12c2d385a8509be1e4e909f1607fff4c1 100644
--- a/chrome/service/service_process.cc
+++ b/chrome/service/service_process.cc
@@ -161,9 +161,8 @@ bool ServiceProcess::Initialize(base::MessageLoopForUI* message_loop,
}
// Initialize TaskScheduler and redirect SequencedWorkerPool tasks to it.
- constexpr int kMaxTaskSchedulerThreads = 3;
base::TaskScheduler::CreateAndSetSimpleTaskScheduler(
- kMaxTaskSchedulerThreads);
+ "CloudPrintServiceProcess");
base::SequencedWorkerPool::EnableWithRedirectionToTaskSchedulerForProcess();
blocking_pool_ = new base::SequencedWorkerPool(
« no previous file with comments | « chrome/app/mash/mash_runner.cc ('k') | components/cronet/ios/cronet_environment.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698