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

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: tweak comment Created 4 years, 5 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/trace_event/memory_dump_manager_unittest.cc ('k') | components/webcrypto/webcrypto_impl.cc » ('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 bea34bb8783206f4345369216e18ec5315343244..0b6af0ebe84496c13c14436f6757c5cce910d696 100644
--- a/chrome/service/service_process.cc
+++ b/chrome/service/service_process.cc
@@ -154,7 +154,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);
// Initialize Mojo early so things can use it.
mojo::edk::Init();
« no previous file with comments | « base/trace_event/memory_dump_manager_unittest.cc ('k') | components/webcrypto/webcrypto_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698