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

Unified Diff: shell/android/android_handler.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/url_response_disk_cache/url_response_disk_cache_apptest.cc ('k') | shell/android/nfc_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/android/android_handler.cc
diff --git a/shell/android/android_handler.cc b/shell/android/android_handler.cc
index 2a30ed5bdb46b4a0ab9295dc9af4f75691c744f4..a092dea0e3d4e07fb57de5efb7bd9d42090cd617 100644
--- a/shell/android/android_handler.cc
+++ b/shell/android/android_handler.cc
@@ -125,8 +125,8 @@ void AndroidHandler::RunApplication(
void AndroidHandler::Initialize(mojo::ApplicationImpl* app) {
handler_task_runner_ = base::MessageLoop::current()->task_runner();
- app->ConnectToService("mojo:url_response_disk_cache",
- &url_response_disk_cache_);
+ app->ConnectToServiceDeprecated("mojo:url_response_disk_cache",
+ &url_response_disk_cache_);
}
bool AndroidHandler::ConfigureIncomingConnection(
« no previous file with comments | « services/url_response_disk_cache/url_response_disk_cache_apptest.cc ('k') | shell/android/nfc_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698