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

Unified Diff: base/task_runner.cc

Issue 2823103003: Introduce TaskRunner::RunsTasksInCurrentSequence() (Closed)
Patch Set: remove RunsTasksOnCurrentThread() overrided. 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/task_runner.cc
diff --git a/base/task_runner.cc b/base/task_runner.cc
index c3e0574a1bf0c0bf5633f37fd01453657fdbc1be..5d85093b1d657f9c1b04ed56db529cfeb0b0a3c1 100644
--- a/base/task_runner.cc
+++ b/base/task_runner.cc
@@ -54,6 +54,10 @@ bool TaskRunner::PostTaskAndReply(const tracked_objects::Location& from_here,
from_here, std::move(task), std::move(reply));
}
+bool TaskRunner::RunsTasksOnCurrentThread() const {
+ return RunsTasksInCurrentSequence();
+}
+
TaskRunner::TaskRunner() {}
TaskRunner::~TaskRunner() {}

Powered by Google App Engine
This is Rietveld 408576698