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

Unified Diff: mojo/public/cpp/bindings/tests/bind_task_runner_unittest.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 | « media/cast/test/skewed_single_thread_task_runner.cc ('k') | net/quic/chromium/test_task_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/tests/bind_task_runner_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/bind_task_runner_unittest.cc b/mojo/public/cpp/bindings/tests/bind_task_runner_unittest.cc
index 569eb518c6ccb01591aa90d5fc0a574138556582..e352e378fd183997d9daef3211ad6dcacc233f83 100644
--- a/mojo/public/cpp/bindings/tests/bind_task_runner_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/bind_task_runner_unittest.cc
@@ -48,7 +48,7 @@ class TestTaskRunner : public base::SingleThreadTaskRunner {
task_ready_.Signal();
return true;
}
- bool RunsTasksOnCurrentThread() const override {
+ bool RunsTasksInCurrentSequence() const override {
return base::PlatformThread::CurrentRef() == thread_id_;
}
« no previous file with comments | « media/cast/test/skewed_single_thread_task_runner.cc ('k') | net/quic/chromium/test_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698