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

Unified Diff: examples/echo/echo_benchmark.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/bank_app/customer.cc ('k') | examples/echo/echo_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/echo/echo_benchmark.cc
diff --git a/examples/echo/echo_benchmark.cc b/examples/echo/echo_benchmark.cc
index 0ebd679d7782f78c0d826d1343771afd472571d8..7cf3bcd6fdfc130fe7924dcd38fcce6a7348510c 100644
--- a/examples/echo/echo_benchmark.cc
+++ b/examples/echo/echo_benchmark.cc
@@ -57,9 +57,9 @@ class EchoClientDelegate : public ApplicationDelegate {
for (int i = 0; i < num_clients_; i++) {
EchoPtr echo;
if (use_dart_server_) {
- app->ConnectToService("mojo:dart_echo_server", &echo);
+ app->ConnectToServiceDeprecated("mojo:dart_echo_server", &echo);
} else {
- app->ConnectToService("mojo:echo_server", &echo);
+ app->ConnectToServiceDeprecated("mojo:echo_server", &echo);
}
echoClients_.push_back(echo.Pass());
}
« no previous file with comments | « examples/bank_app/customer.cc ('k') | examples/echo/echo_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698