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

Unified Diff: services/debugger/debugger.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/dart/dart_tracing.cc ('k') | services/files/files_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/debugger/debugger.cc
diff --git a/services/debugger/debugger.cc b/services/debugger/debugger.cc
index 4150aded107a7258abbf96070197ae8918506c9f..62f222a61836f0e9a4ec0aa7df246a8d2e50f751 100644
--- a/services/debugger/debugger.cc
+++ b/services/debugger/debugger.cc
@@ -47,7 +47,7 @@ class Debugger : public mojo::ApplicationDelegate,
}
base::StringToUint(app->args()[1], &command_port_);
http_server::HttpServerFactoryPtr http_server_factory;
- app->ConnectToService("mojo:http_server", &http_server_factory);
+ app->ConnectToServiceDeprecated("mojo:http_server", &http_server_factory);
mojo::NetAddressPtr local_address(mojo::NetAddress::New());
local_address->family = mojo::NetAddressFamily::IPV4;
@@ -121,7 +121,7 @@ class Debugger : public mojo::ApplicationDelegate,
}
if (!tracing_)
- app_->ConnectToService("mojo:tracing", &tracing_);
+ app_->ConnectToServiceDeprecated("mojo:tracing", &tracing_);
is_tracing_ = true;
mojo::DataPipe pipe;
tracing_->Start(pipe.producer_handle.Pass(), mojo::String("*"));
« no previous file with comments | « services/dart/dart_tracing.cc ('k') | services/files/files_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698