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

Unified Diff: chrome/service/service_process.cc

Issue 2077413009: Add TaskPriority as a parameter to SequencedWorkerPool in preparation for TaskScheduler experiment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a2_hook
Patch Set: fix compile (+child_process_host_unittest.cc) Created 4 years, 6 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: chrome/service/service_process.cc
diff --git a/chrome/service/service_process.cc b/chrome/service/service_process.cc
index dba9f442b06bc43052420897a680e4a52418729a..6afbaac0d6de36de4eed68e0bd8a0205869ef1a3 100644
--- a/chrome/service/service_process.cc
+++ b/chrome/service/service_process.cc
@@ -152,7 +152,8 @@ bool ServiceProcess::Initialize(base::MessageLoopForUI* message_loop,
Teardown();
return false;
}
- blocking_pool_ = new base::SequencedWorkerPool(3, "ServiceBlocking");
+ blocking_pool_ = new base::SequencedWorkerPool(
+ 3, "ServiceBlocking", base::TaskPriority::USER_VISIBLE);
request_context_getter_ = new ServiceURLRequestContextGetter();

Powered by Google App Engine
This is Rietveld 408576698