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

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: 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..4a38b53e9ac342f07ddaeed09b044d466c788548 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::BACKGROUND);
jam 2016/06/22 20:17:37 users will notice if this takes arbitrary long tim
gab 2016/06/22 21:08:56 Okay changing to USER_VISIBLE to keep it as foregr
request_context_getter_ = new ServiceURLRequestContextGetter();

Powered by Google App Engine
This is Rietveld 408576698