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

Unified Diff: content/public/test/test_utils.h

Issue 2750823002: Flush TaskScheduler in content::RunAllBlockingPoolTasksUntilIdle(). (Closed)
Patch Set: fix test error Created 3 years, 9 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/test/scoped_task_scheduler.cc ('k') | content/public/test/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_utils.h
diff --git a/content/public/test/test_utils.h b/content/public/test/test_utils.h
index 29f5965db9767ac191f87bf7e01ee5ba0176de60..2b8235d06eafc98b37fc7b120536c5cbf01b7523 100644
--- a/content/public/test/test_utils.h
+++ b/content/public/test/test_utils.h
@@ -58,6 +58,9 @@ void RunAllPendingInMessageLoop(BrowserThread::ID thread_id);
// Runs until both the blocking pool and the current message loop are empty
// (have no more scheduled tasks) and no tasks are running.
+//
+// TODO(fdoray): Rename to RunAllTaskSchedulerTasksUntilIdle() once the blocking
+// pool is fully deprecated. https://crbug.com/667892
void RunAllBlockingPoolTasksUntilIdle();
// Get task to quit the given RunLoop. It allows a few generations of pending
« no previous file with comments | « base/test/scoped_task_scheduler.cc ('k') | content/public/test/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698