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

Unified Diff: base/test/scoped_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 | « base/test/scoped_async_task_scheduler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/scoped_task_scheduler.h
diff --git a/base/test/scoped_task_scheduler.h b/base/test/scoped_task_scheduler.h
index 010b39e2af40fb8a28b0a22053471a7d20b88c10..a43897b6a947de9482b2a71c495497ef3c327416 100644
--- a/base/test/scoped_task_scheduler.h
+++ b/base/test/scoped_task_scheduler.h
@@ -15,6 +15,11 @@ class TaskScheduler;
namespace test {
+// DEPRECATED. Use ScopedTaskEnvironment instead.
+//
+// TODO(fdoray): Replace ScopedTaskScheduler instances by ScopedTaskEnvironment.
+// https://crbug.com/708584
+//
// Allows usage of the base/task_scheduler/post_task.h API within its scope.
//
// To run pending tasks synchronously, call RunLoop::Run/RunUntilIdle() on the
« no previous file with comments | « base/test/scoped_async_task_scheduler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698