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

Unified Diff: shell/android/android_handler.cc

Issue 1979683002: ApplicationConnection devolution, part 2.4. (Closed) Base URL: https://github.com/domokit/mojo.git@work795_app_conn_devo_2.3-x-work794_app_conn_devo_2.2
Patch Set: so much doh Created 4 years, 7 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/python/content_handler/content_handler_main.cc ('k') | no next file » | 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 c52b3403868c532c2383aae0dc4c476932bbd3ff..2f0097f28ce89d80f7a856d09d8a8fc7bca2a954 100644
--- a/shell/android/android_handler.cc
+++ b/shell/android/android_handler.cc
@@ -132,7 +132,8 @@ void AndroidHandler::Initialize(mojo::ApplicationImpl* app) {
bool AndroidHandler::ConfigureIncomingConnection(
mojo::ApplicationConnection* connection) {
- connection->AddService(&content_handler_factory_);
+ connection->GetServiceProviderImpl().AddService<mojo::ContentHandler>(
+ content_handler_factory_.GetInterfaceRequestHandler());
return true;
}
« no previous file with comments | « services/python/content_handler/content_handler_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698