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

Unified Diff: base/test/test_simple_task_runner.h

Issue 2823103003: Introduce TaskRunner::RunsTasksInCurrentSequence() (Closed)
Patch Set: rebase 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/test_simple_task_runner.h
diff --git a/base/test/test_simple_task_runner.h b/base/test/test_simple_task_runner.h
index f46e065e476e7ff1cefb23a10cb57d086795ff63..05146668a3367574dd52016f87ccc8749e391c32 100644
--- a/base/test/test_simple_task_runner.h
+++ b/base/test/test_simple_task_runner.h
@@ -50,7 +50,7 @@ class TestSimpleTaskRunner : public SingleThreadTaskRunner {
OnceClosure task,
TimeDelta delay) override;
- bool RunsTasksOnCurrentThread() const override;
+ bool RunsTasksInCurrentSequence() const override;
std::deque<TestPendingTask> TakePendingTasks();
size_t NumPendingTasks() const;

Powered by Google App Engine
This is Rietveld 408576698