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

Unified Diff: base/deferred_sequenced_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/deferred_sequenced_task_runner.h ('k') | base/message_loop/message_loop_task_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/deferred_sequenced_task_runner.cc
diff --git a/base/deferred_sequenced_task_runner.cc b/base/deferred_sequenced_task_runner.cc
index 0301945bd10b1a188b8b79c75cf29b2e410c90aa..93f6ad7e49662091c1ba6c6d07075a72ea1ef974 100644
--- a/base/deferred_sequenced_task_runner.cc
+++ b/base/deferred_sequenced_task_runner.cc
@@ -48,8 +48,8 @@ bool DeferredSequencedTaskRunner::PostDelayedTask(
return true;
}
-bool DeferredSequencedTaskRunner::RunsTasksOnCurrentThread() const {
- return target_task_runner_->RunsTasksOnCurrentThread();
+bool DeferredSequencedTaskRunner::RunsTasksInCurrentSequence() const {
+ return target_task_runner_->RunsTasksInCurrentSequence();
}
bool DeferredSequencedTaskRunner::PostNonNestableDelayedTask(
« no previous file with comments | « base/deferred_sequenced_task_runner.h ('k') | base/message_loop/message_loop_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698