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

Unified Diff: net/disk_cache/blockfile/file_posix.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 | « ios/web/web_thread_impl.cc ('k') | net/disk_cache/simple/simple_backend_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/blockfile/file_posix.cc
diff --git a/net/disk_cache/blockfile/file_posix.cc b/net/disk_cache/blockfile/file_posix.cc
index 5a3ad455478f65cd844a6c49ca28c1e1e36cb45f..cdde5b0d45e73e4782ef493046dfb70a547cb1d3 100644
--- a/net/disk_cache/blockfile/file_posix.cc
+++ b/net/disk_cache/blockfile/file_posix.cc
@@ -25,7 +25,10 @@ const int kMaxThreads = 5;
class FileWorkerPool : public base::SequencedWorkerPool {
public:
- FileWorkerPool() : base::SequencedWorkerPool(kMaxThreads, "CachePool") {}
+ FileWorkerPool()
+ : base::SequencedWorkerPool(kMaxThreads,
+ "CachePool",
+ base::TaskPriority::USER_BLOCKING) {}
protected:
~FileWorkerPool() override {}
« no previous file with comments | « ios/web/web_thread_impl.cc ('k') | net/disk_cache/simple/simple_backend_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698