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

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: 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: services/shell/standalone/context.cc
diff --git a/services/shell/standalone/context.cc b/services/shell/standalone/context.cc
index 47565d6a3247a974e0a4fddcf51545e9b2ece095..3b1b979f5911c95aa99d3046cd7e9967845b9409 100644
--- a/services/shell/standalone/context.cc
+++ b/services/shell/standalone/context.cc
@@ -137,8 +137,8 @@ void Context::Init(std::unique_ptr<InitParams> init_params) {
EnsureEmbedderIsInitialized();
shell_runner_ = base::ThreadTaskRunnerHandle::Get();
- blocking_pool_ =
- new base::SequencedWorkerPool(kMaxBlockingPoolThreads, "blocking_pool");
+ blocking_pool_ = new base::SequencedWorkerPool(
+ kMaxBlockingPoolThreads, "blocking_pool", base::TaskPriority::BACKGROUND);
jam 2016/06/22 20:17:37 similarly, i don't think this should be priority.
gab 2016/06/22 21:08:56 Okay then everything but reading manifests should
init_edk_ = !init_params || init_params->init_edk;
if (init_edk_) {
« content/browser/browser_thread_impl.cc ('K') | « net/ssl/ssl_platform_key_task_runner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698