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

Unified Diff: base/task_scheduler/delayed_task_manager_unittest.cc

Issue 2426813004: TaskScheduler: Nits in service thread and delayed tasks code. (Closed)
Patch Set: Created 4 years, 2 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
Index: base/task_scheduler/delayed_task_manager_unittest.cc
diff --git a/base/task_scheduler/delayed_task_manager_unittest.cc b/base/task_scheduler/delayed_task_manager_unittest.cc
index d79947b74f3c6e130868526b02f383a8794b0ebb..56d8423cc4de6179406db9ddf37fa4453bfac28d 100644
--- a/base/task_scheduler/delayed_task_manager_unittest.cc
+++ b/base/task_scheduler/delayed_task_manager_unittest.cc
@@ -75,8 +75,8 @@ TEST(TaskSchedulerDelayedTaskManagerTest, DelayedTaskDoesNotRunTooEarly) {
// Send |task| to the DelayedTaskManager.
manager.AddDelayedTask(std::move(task), sequence, nullptr, &worker_pool);
- // Run tasks that are ripe for execution on the service thread. Don't expect
- // any call to the mock method of |worker_pool|.
+ // Run tasks that are ripe for execution. Don't expect any call to the mock
+ // method of |worker_pool|.
service_thread_task_runner->RunUntilIdle();
}
« no previous file with comments | « no previous file | base/task_scheduler/scheduler_worker_pool_impl_unittest.cc » ('j') | base/task_scheduler/task_scheduler_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698