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

Unified Diff: base/test/scoped_async_task_scheduler.h

Issue 2796403002: Add base::test::ScopedTaskEnvironment. (Closed)
Patch Set: self-review Created 3 years, 8 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/test/scoped_async_task_scheduler.h
diff --git a/base/test/scoped_async_task_scheduler.h b/base/test/scoped_async_task_scheduler.h
index 3fec517c45a4136ee19ddabc8e3d71aa2d5ab10d..a68d7853f53df3bff0b5920cc964fb79a96b9fdf 100644
--- a/base/test/scoped_async_task_scheduler.h
+++ b/base/test/scoped_async_task_scheduler.h
@@ -17,6 +17,8 @@ namespace test {
//
// To wait until all tasks posted without a delay have run, use
// TaskScheduler::GetInstance()->FlushForTesting().
+//
+// Deprecated. Use ScopedTaskEnvironment instead. https://crbug.com/708584
gab 2017/04/05 20:44:24 TODO(fdoray): Replace ScopedAsyncTaskScheduler ins
fdoray 2017/04/06 14:00:22 Done.
class ScopedAsyncTaskScheduler {
public:
// Registers a single-threaded TaskScheduler.

Powered by Google App Engine
This is Rietveld 408576698