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

Unified Diff: base/threading/sequenced_worker_pool_unittest.cc

Issue 2882523002: Remove SequencedWorkerPool::PostDelayedWorkerTask(). (Closed)
Patch Set: CR-gab-12 Created 3 years, 7 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 | « base/threading/sequenced_worker_pool.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/sequenced_worker_pool_unittest.cc
diff --git a/base/threading/sequenced_worker_pool_unittest.cc b/base/threading/sequenced_worker_pool_unittest.cc
index 10d1d97e72b879cd19979d1e5014454ddf4d41b8..ccc21d8ebbaadaac4a17b60bfec3ef0cea545b6f 100644
--- a/base/threading/sequenced_worker_pool_unittest.cc
+++ b/base/threading/sequenced_worker_pool_unittest.cc
@@ -991,9 +991,9 @@ TEST_P(SequencedWorkerPoolTest, FlushForTesting) {
// Queue up a bunch of work, including a long delayed task and
// a task that produces additional tasks as an artifact.
- pool()->PostDelayedWorkerTask(
- FROM_HERE, base::BindOnce(&TestTracker::FastTask, tracker(), 0),
- TimeDelta::FromMinutes(5));
+ pool()->PostDelayedTask(FROM_HERE,
+ base::BindOnce(&TestTracker::FastTask, tracker(), 0),
+ TimeDelta::FromMinutes(5));
pool()->PostWorkerTask(FROM_HERE,
base::BindOnce(&TestTracker::SlowTask, tracker(), 0));
const size_t kNumFastTasks = 20;
« no previous file with comments | « base/threading/sequenced_worker_pool.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698