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

Unified Diff: ios/web/web_thread_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 | « ios/chrome/browser/net/image_fetcher_unittest.mm ('k') | net/disk_cache/blockfile/file_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_thread_impl.cc
diff --git a/ios/web/web_thread_impl.cc b/ios/web/web_thread_impl.cc
index 370295f259dca84215651729e5dc8d4c38e8f609..0f295c2ee6ea694a0e39f191baa28a5f2f668959 100644
--- a/ios/web/web_thread_impl.cc
+++ b/ios/web/web_thread_impl.cc
@@ -87,7 +87,10 @@ base::LazyInstance<WebThreadTaskRunners>::Leaky g_task_runners =
struct WebThreadGlobals {
WebThreadGlobals()
- : blocking_pool(new base::SequencedWorkerPool(3, "WebBlocking")) {
+ : blocking_pool(
+ new base::SequencedWorkerPool(3,
+ "WebBlocking",
+ base::TaskPriority::USER_VISIBLE)) {
memset(threads, 0, WebThread::ID_COUNT * sizeof(threads[0]));
memset(thread_delegates, 0,
WebThread::ID_COUNT * sizeof(thread_delegates[0]));
« no previous file with comments | « ios/chrome/browser/net/image_fetcher_unittest.mm ('k') | net/disk_cache/blockfile/file_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698