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

Unified Diff: ios/chrome/browser/net/image_fetcher_unittest.mm

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 | « device/bluetooth/bluetooth_task_manager_win.cc ('k') | ios/web/web_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/net/image_fetcher_unittest.mm
diff --git a/ios/chrome/browser/net/image_fetcher_unittest.mm b/ios/chrome/browser/net/image_fetcher_unittest.mm
index d173a505f64329ac2844a97fde5c16ca86bd14d8..ebcff728e88fd0fbb452c47ad0e4c4393d6a35d7 100644
--- a/ios/chrome/browser/net/image_fetcher_unittest.mm
+++ b/ios/chrome/browser/net/image_fetcher_unittest.mm
@@ -73,7 +73,9 @@ static const char kWEBPHeaderResponse[] =
class ImageFetcherTest : public PlatformTest {
protected:
ImageFetcherTest()
- : pool_(new base::SequencedWorkerPool(1, "TestPool")),
+ : pool_(new base::SequencedWorkerPool(1,
+ "TestPool",
+ base::TaskPriority::USER_VISIBLE)),
image_fetcher_(new ImageFetcher(pool_)),
result_(nil),
called_(false) {
« no previous file with comments | « device/bluetooth/bluetooth_task_manager_win.cc ('k') | ios/web/web_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698