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

Unified Diff: base/test/null_task_runner.h

Issue 2823103003: Introduce TaskRunner::RunsTasksInCurrentSequence() (Closed)
Patch Set: fixed build error and commments 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.h
diff --git a/base/test/null_task_runner.h b/base/test/null_task_runner.h
index 3dd9d7e59738035bba4d325da60733d838ce1e59..4c601771fffdbcc30e86b52fd3b9cd305f99d55a 100644
--- a/base/test/null_task_runner.h
+++ b/base/test/null_task_runner.h
@@ -26,7 +26,7 @@ class NullTaskRunner : public base::SingleThreadTaskRunner {
base::OnceClosure task,
base::TimeDelta delay) override;
// Always returns true to avoid triggering DCHECKs.
- bool RunsTasksOnCurrentThread() const override;
+ bool RunsTasksInCurrentSequence() const override;
protected:
~NullTaskRunner() override;

Powered by Google App Engine
This is Rietveld 408576698