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

Unified Diff: services/shell/runner/host/child_process_host_unittest.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 | « net/proxy/dhcp_proxy_script_fetcher_win.cc ('k') | services/shell/standalone/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/runner/host/child_process_host_unittest.cc
diff --git a/services/shell/runner/host/child_process_host_unittest.cc b/services/shell/runner/host/child_process_host_unittest.cc
index f4867d4e754ac2c0a1792308273322ea9e61c498..cd84ba7c607b16fa41d6aa8b36fe9ed316abe6bc 100644
--- a/services/shell/runner/host/child_process_host_unittest.cc
+++ b/services/shell/runner/host/child_process_host_unittest.cc
@@ -78,7 +78,8 @@ TEST(ChildProcessHostTest, MAYBE_StartJoin) {
PathService::Get(base::DIR_MODULE, &shell_dir);
base::MessageLoop message_loop;
scoped_refptr<base::SequencedWorkerPool> blocking_pool(
- new base::SequencedWorkerPool(3, "blocking_pool"));
+ new base::SequencedWorkerPool(3, "blocking_pool",
+ base::TaskPriority::USER_VISIBLE));
base::Thread io_thread("io_thread");
base::Thread::Options options;
« no previous file with comments | « net/proxy/dhcp_proxy_script_fetcher_win.cc ('k') | services/shell/standalone/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698