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

Unified Diff: examples/indirect_service/indirect_service_demo.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/http_handler/http_handler.cc ('k') | examples/media_test/media_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/indirect_service/indirect_service_demo.cc
diff --git a/examples/indirect_service/indirect_service_demo.cc b/examples/indirect_service/indirect_service_demo.cc
index 2c9d72a568907bef449cbfbb8e303bb969e6d99e..99f21216b389f90653e44c940712a743f464dab6 100644
--- a/examples/indirect_service/indirect_service_demo.cc
+++ b/examples/indirect_service/indirect_service_demo.cc
@@ -94,9 +94,10 @@ class IndirectServiceDemoAppDelegate : public ApplicationDelegate {
public:
void Initialize(ApplicationImpl* app) override {
IntegerServicePtr indirect_service_delegate;
- app->ConnectToService("mojo:indirect_integer_service",
- &indirect_integer_service_);
- app->ConnectToService("mojo:integer_service", &indirect_service_delegate);
+ app->ConnectToServiceDeprecated("mojo:indirect_integer_service",
+ &indirect_integer_service_);
+ app->ConnectToServiceDeprecated("mojo:integer_service",
+ &indirect_service_delegate);
indirect_integer_service_->Set(
indirect_service_delegate.PassInterfaceHandle());
« no previous file with comments | « examples/http_handler/http_handler.cc ('k') | examples/media_test/media_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698