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

Unified Diff: services/js/pingpong_apptest.cc

Issue 1150563003: Rename InterfacePtr's WaitForIncomingMethodCall() -> WaitForIncomingResponse(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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 | « services/js/network_apptest.cc ('k') | services/nacl/content_handler_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/js/pingpong_apptest.cc
diff --git a/services/js/pingpong_apptest.cc b/services/js/pingpong_apptest.cc
index e78415a4940014a31d8cd1e3daa27892f1d43900..e5e4ad3a43f37ad9d2122159a14607a26adb1a03 100644
--- a/services/js/pingpong_apptest.cc
+++ b/services/js/pingpong_apptest.cc
@@ -83,7 +83,7 @@ TEST_F(JSPingPongTest, PingTargetURL) {
bool returned_value = false;
PingTargetCallback callback(&returned_value);
pingpong_service_->PingTargetURL(JSAppURL("pingpong_target.js"), 9, callback);
- EXPECT_TRUE(pingpong_service_.WaitForIncomingMethodCall());
+ EXPECT_TRUE(pingpong_service_.WaitForIncomingResponse());
EXPECT_TRUE(returned_value);
pingpong_service_->Quit();
}
@@ -96,7 +96,7 @@ TEST_F(JSPingPongTest, PingTargetService) {
bool returned_value = false;
PingTargetCallback callback(&returned_value);
pingpong_service_->PingTargetService(target.Pass(), 9, callback);
- EXPECT_TRUE(pingpong_service_.WaitForIncomingMethodCall());
+ EXPECT_TRUE(pingpong_service_.WaitForIncomingResponse());
EXPECT_TRUE(returned_value);
pingpong_service_->Quit();
}
« no previous file with comments | « services/js/network_apptest.cc ('k') | services/nacl/content_handler_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698