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

Unified Diff: base/test/scoped_async_task_scheduler.h

Issue 2796403002: Add base::test::ScopedTaskEnvironment. (Closed)
Patch Set: CR-gab-9 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
« no previous file with comments | « base/test/BUILD.gn ('k') | base/test/scoped_task_environment.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5d29e5357c55d6426a2cb1623ac3ba9bdf5c8242 100644
--- a/base/test/scoped_async_task_scheduler.h
+++ b/base/test/scoped_async_task_scheduler.h
@@ -17,6 +17,11 @@ 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
+//
+// TODO(fdoray): Replace ScopedAsyncTaskScheduler instances by
+// ScopedTaskEnvironment.
class ScopedAsyncTaskScheduler {
public:
// Registers a single-threaded TaskScheduler.
« no previous file with comments | « base/test/BUILD.gn ('k') | base/test/scoped_task_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698