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

Unified Diff: base/test/scoped_async_task_scheduler.h

Issue 2867003003: Mark Scoped(Async)TaskScheduler as deprecated. (Closed)
Patch Set: 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 | « no previous file | base/test/scoped_task_scheduler.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 5d29e5357c55d6426a2cb1623ac3ba9bdf5c8242..c849f7079a5a23c4683f362af010e13b81767e31 100644
--- a/base/test/scoped_async_task_scheduler.h
+++ b/base/test/scoped_async_task_scheduler.h
@@ -13,15 +13,15 @@ class TaskScheduler;
namespace test {
+// DEPRECATED. Use ScopedTaskEnvironment instead.
+//
+// TODO(fdoray): Replace ScopedAsyncTaskScheduler instances by
+// ScopedTaskEnvironment. https://crbug.com/708584
+//
// Allows usage of the base/task_scheduler/post_task.h API within its scope.
//
// 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 | « no previous file | base/test/scoped_task_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698