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

Unified Diff: ash/sysui/sysui_application.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 | « no previous file | base/test/sequenced_worker_pool_owner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sysui/sysui_application.cc
diff --git a/ash/sysui/sysui_application.cc b/ash/sysui/sysui_application.cc
index adef771280809d6a02ee90bd0f3acbd63f09ea08..345efb01788aa8c8c38874aa14b3b56e37bbe2cc 100644
--- a/ash/sysui/sysui_application.cc
+++ b/ash/sysui/sysui_application.cc
@@ -205,7 +205,11 @@ class NativeWidgetFactory {
class AshInit {
public:
- AshInit() : worker_pool_(new base::SequencedWorkerPool(2, "AshWorkerPool")) {
+ AshInit()
+ : worker_pool_(
+ new base::SequencedWorkerPool(2,
+ "AshWorkerPool",
+ base::TaskPriority::USER_BLOCKING)) {
ui::RegisterPathProvider();
}
« no previous file with comments | « no previous file | base/test/sequenced_worker_pool_owner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698