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

Unified Diff: examples/echo/echo_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_benchmark.cc ('k') | examples/echo/echo_client_sync.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/echo/echo_client.cc
diff --git a/examples/echo/echo_client.cc b/examples/echo/echo_client.cc
index 5ff27cf8206d81e70999ccf5dc7e690c2642c21e..8d75af40ac967fc0bcf6764adb2300675caca65a 100644
--- a/examples/echo/echo_client.cc
+++ b/examples/echo/echo_client.cc
@@ -26,7 +26,7 @@ class ResponsePrinter {
class EchoClientDelegate : public ApplicationDelegate {
public:
void Initialize(ApplicationImpl* app) override {
- app->ConnectToService("mojo:echo_server", &echo_);
+ app->ConnectToServiceDeprecated("mojo:echo_server", &echo_);
echo_->EchoString("hello world", ResponsePrinter());
}
« no previous file with comments | « examples/echo/echo_benchmark.cc ('k') | examples/echo/echo_client_sync.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698