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

Unified Diff: examples/hello_mojo/hello_mojo_client.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 | « examples/echo/echo_client_sync.cc ('k') | examples/http_handler/http_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/hello_mojo/hello_mojo_client.cc
diff --git a/examples/hello_mojo/hello_mojo_client.cc b/examples/hello_mojo/hello_mojo_client.cc
index ba12db1925f3254740b8803d06621500fc7bddb8..2dcde7f35a5b6a2a16ebef9c7844de162c9f9444 100644
--- a/examples/hello_mojo/hello_mojo_client.cc
+++ b/examples/hello_mojo/hello_mojo_client.cc
@@ -25,7 +25,8 @@ class HelloMojoClientApp : public mojo::ApplicationDelegate {
~HelloMojoClientApp() override {}
void Initialize(mojo::ApplicationImpl* application) override {
- application->ConnectToService("mojo:hello_mojo_server", &hello_mojo_);
+ application->ConnectToServiceDeprecated("mojo:hello_mojo_server",
+ &hello_mojo_);
DoIt("hello");
DoIt("goodbye");
« no previous file with comments | « examples/echo/echo_client_sync.cc ('k') | examples/http_handler/http_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698