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

Unified Diff: services/shell/standalone/context.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 | « services/shell/runner/host/child_process_host_unittest.cc ('k') | tools/gn/header_checker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/standalone/context.cc
diff --git a/services/shell/standalone/context.cc b/services/shell/standalone/context.cc
index 97aa37b7928de68b0b00014cbe6186c24985b831..d3a6b667c9a86f5ea2a4e03840116ef08734e906 100644
--- a/services/shell/standalone/context.cc
+++ b/services/shell/standalone/context.cc
@@ -138,7 +138,8 @@ void Context::Init(std::unique_ptr<InitParams> init_params) {
service_manager_runner_ = base::ThreadTaskRunnerHandle::Get();
blocking_pool_ =
- new base::SequencedWorkerPool(kMaxBlockingPoolThreads, "blocking_pool");
+ new base::SequencedWorkerPool(kMaxBlockingPoolThreads, "blocking_pool",
+ base::TaskPriority::USER_VISIBLE);
init_edk_ = !init_params || init_params->init_edk;
if (init_edk_) {
« no previous file with comments | « services/shell/runner/host/child_process_host_unittest.cc ('k') | tools/gn/header_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698