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

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: 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
« no previous file with comments | « no previous file | base/test/sequenced_worker_pool_owner.cc » ('j') | chrome/service/service_process.cc » ('J')
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 7f22f4782733b622ee0dc5ad9afd92b87d5bd716..3899f171f7a0d056927e17af2a0ff2f91c927cca 100644
--- a/ash/sysui/sysui_application.cc
+++ b/ash/sysui/sysui_application.cc
@@ -204,7 +204,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') | chrome/service/service_process.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698