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

Unified Diff: examples/echo/echo_client_sync.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.cc ('k') | examples/hello_mojo/hello_mojo_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/echo/echo_client_sync.cc
diff --git a/examples/echo/echo_client_sync.cc b/examples/echo/echo_client_sync.cc
index 68f03e7c84749bbb9b5c34d0199934af2a36e1fd..cd9592a8fbdbc38c426a68cad94a8a55a8564eb6 100644
--- a/examples/echo/echo_client_sync.cc
+++ b/examples/echo/echo_client_sync.cc
@@ -26,7 +26,7 @@ class EchoClientDelegate : public ApplicationDelegate {
public:
void Initialize(ApplicationImpl* app) override {
EchoPtr echo;
- app->ConnectToService("mojo:echo_server", &echo);
+ app->ConnectToServiceDeprecated("mojo:echo_server", &echo);
mojo::String out = "yo!";
auto echo_proxy =
« no previous file with comments | « examples/echo/echo_client.cc ('k') | examples/hello_mojo/hello_mojo_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698