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

Unified Diff: net/disk_cache/simple/simple_backend_impl.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/disk_cache/blockfile/file_posix.cc ('k') | net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/simple/simple_backend_impl.cc
diff --git a/net/disk_cache/simple/simple_backend_impl.cc b/net/disk_cache/simple/simple_backend_impl.cc
index 4587bf9a3f886e886acf057941bfcda4ea0dcc8e..591f3a3f6a0dd28b4ec0f79261da1041c518c0e3 100644
--- a/net/disk_cache/simple/simple_backend_impl.cc
+++ b/net/disk_cache/simple/simple_backend_impl.cc
@@ -65,7 +65,9 @@ class LeakySequencedWorkerPool {
public:
LeakySequencedWorkerPool()
: sequenced_worker_pool_(
- new SequencedWorkerPool(kMaxWorkerThreads, kThreadNamePrefix)) {}
+ new SequencedWorkerPool(kMaxWorkerThreads,
+ kThreadNamePrefix,
+ base::TaskPriority::USER_BLOCKING)) {}
void FlushForTesting() { sequenced_worker_pool_->FlushForTesting(); }
« no previous file with comments | « net/disk_cache/blockfile/file_posix.cc ('k') | net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698