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

Unified Diff: services/js/pingpong_apptest.cc

Issue 1916233002: Mark ApplicationImpl::ConnectTo{Application,Service}() as deprecated. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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
« no previous file with comments | « services/js/network_apptest.cc ('k') | services/media/factory_service/audio_track_controller.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 e5e4ad3a43f37ad9d2122159a14607a26adb1a03..a1c5f1d2e8ce664f7ca80126c5ba840b8145b99c 100644
--- a/services/js/pingpong_apptest.cc
+++ b/services/js/pingpong_apptest.cc
@@ -45,7 +45,7 @@ class JSPingPongTest : public test::JSApplicationTestBase {
void SetUp() override {
ApplicationTestBase::SetUp();
const std::string& url = JSAppURL("pingpong.js");
- application_impl()->ConnectToService(url, &pingpong_service_);
+ application_impl()->ConnectToServiceDeprecated(url, &pingpong_service_);
PingPongClientPtr client_ptr;
pingpong_client_.Bind(GetProxy(&client_ptr));
pingpong_service_->SetClient(client_ptr.Pass());
@@ -92,7 +92,8 @@ TEST_F(JSPingPongTest, PingTargetURL) {
// pingpong-target.js URL, we provide a connection to its PingPongService.
TEST_F(JSPingPongTest, PingTargetService) {
PingPongServicePtr target;
- application_impl()->ConnectToService(JSAppURL("pingpong_target.js"), &target);
+ application_impl()->ConnectToServiceDeprecated(JSAppURL("pingpong_target.js"),
+ &target);
bool returned_value = false;
PingTargetCallback callback(&returned_value);
pingpong_service_->PingTargetService(target.Pass(), 9, callback);
« no previous file with comments | « services/js/network_apptest.cc ('k') | services/media/factory_service/audio_track_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698