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

Unified Diff: base/message_loop/message_loop_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/message_loop/message_loop_task_runner.h
diff --git a/base/message_loop/message_loop_task_runner.h b/base/message_loop/message_loop_task_runner.h
index 99a96a711e35676044d4dd7773e6843aaf60ca26..f3ec51f863882e51ee5dc7e70175beed39ffef27 100644
--- a/base/message_loop/message_loop_task_runner.h
+++ b/base/message_loop/message_loop_task_runner.h
@@ -37,7 +37,7 @@ class BASE_EXPORT MessageLoopTaskRunner : public SingleThreadTaskRunner {
bool PostNonNestableDelayedTask(const tracked_objects::Location& from_here,
OnceClosure task,
base::TimeDelta delay) override;
- bool RunsTasksOnCurrentThread() const override;
+ bool RunsTasksInCurrentSequence() const override;
private:
friend class RefCountedThreadSafe<MessageLoopTaskRunner>;

Powered by Google App Engine
This is Rietveld 408576698