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

Unified Diff: base/test/null_task_runner.cc

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/null_task_runner.cc
diff --git a/base/test/null_task_runner.cc b/base/test/null_task_runner.cc
index 476af6325eeaf8ee15b5d055f369eeff510cc7cf..000007b7268b832ed049397d8f10ac007b64f212 100644
--- a/base/test/null_task_runner.cc
+++ b/base/test/null_task_runner.cc
@@ -23,7 +23,7 @@ bool NullTaskRunner::PostNonNestableDelayedTask(
return false;
}
-bool NullTaskRunner::RunsTasksOnCurrentThread() const {
+bool NullTaskRunner::RunsTasksInCurrentSequence() const {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698