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

Unified Diff: base/test/null_task_runner.cc

Issue 2823103003: Introduce TaskRunner::RunsTasksInCurrentSequence() (Closed)
Patch Set: rebase & remove inline keyword 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/null_task_runner.h ('k') | base/test/scoped_task_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « base/test/null_task_runner.h ('k') | base/test/scoped_task_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698