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

Unified Diff: mojo/public/cpp/bindings/tests/sync_method_unittest.cc

Issue 2958703002: Rename TaskRunner::RunsTasksOnCurrentThread() in //ipc, //mojo (Closed)
Patch Set: Created 3 years, 6 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: mojo/public/cpp/bindings/tests/sync_method_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/sync_method_unittest.cc b/mojo/public/cpp/bindings/tests/sync_method_unittest.cc
index 6a5d7040d8df6cc93c2a2a29281a19b8fc87e7c6..25bb9db1222e70c540c28eafffa7e9e8349f3582 100644
--- a/mojo/public/cpp/bindings/tests/sync_method_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/sync_method_unittest.cc
@@ -266,7 +266,7 @@ class TestSyncServiceSequence {
ping_called_(false) {}
void SetUp(InterfaceRequest<Interface> request) {
- CHECK(task_runner()->RunsTasksOnCurrentThread());
+ CHECK(task_runner()->RunsTasksInCurrentSequence());
impl_.reset(new ImplTypeFor<Interface>(std::move(request)));
impl_->set_ping_handler(
[this](const typename Interface::PingCallback& callback) {
@@ -279,7 +279,7 @@ class TestSyncServiceSequence {
}
void TearDown() {
- CHECK(task_runner()->RunsTasksOnCurrentThread());
+ CHECK(task_runner()->RunsTasksInCurrentSequence());
impl_.reset();
}
« no previous file with comments | « mojo/public/cpp/bindings/tests/associated_interface_unittest.cc ('k') | mojo/public/cpp/system/simple_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698