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

Unified Diff: services/nacl/nonsfi/content_handler_main_pexe.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/media/factory_service/network_reader_impl.cc ('k') | services/nacl/sfi/content_handler_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/nacl/nonsfi/content_handler_main_pexe.cc
diff --git a/services/nacl/nonsfi/content_handler_main_pexe.cc b/services/nacl/nonsfi/content_handler_main_pexe.cc
index b4821f0b6ca7423146501e81ba3c805a9c5d7d45..78b3d906556c1b0044a674c1ea8b7ed86d361758 100644
--- a/services/nacl/nonsfi/content_handler_main_pexe.cc
+++ b/services/nacl/nonsfi/content_handler_main_pexe.cc
@@ -78,9 +78,9 @@ class PexeContentHandler : public mojo::ApplicationDelegate,
private:
// Overridden from ApplicationDelegate:
void Initialize(mojo::ApplicationImpl* app) override {
- app->ConnectToService("mojo:pnacl_compile", &compiler_init_);
- app->ConnectToService("mojo:pnacl_link", &linker_init_);
- app->ConnectToService("mojo:files", &files_);
+ app->ConnectToServiceDeprecated("mojo:pnacl_compile", &compiler_init_);
+ app->ConnectToServiceDeprecated("mojo:pnacl_link", &linker_init_);
+ app->ConnectToServiceDeprecated("mojo:files", &files_);
mojo::files::Error error = mojo::files::Error::INTERNAL;
files_->OpenFileSystem("app_persistent_cache",
GetProxy(&nexe_cache_directory),
« no previous file with comments | « services/media/factory_service/network_reader_impl.cc ('k') | services/nacl/sfi/content_handler_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698