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

Unified Diff: services/android/java_handler.cc

Issue 943053003: Simple multi-url support for mojo apps (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: hate Created 5 years, 10 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
Index: services/android/java_handler.cc
diff --git a/services/android/java_handler.cc b/services/android/java_handler.cc
index 594e77e20bda1810e8661b47de4eb5c710543893..6c9a27105f64e7e279085b78eb60d18a8e10c9e5 100644
--- a/services/android/java_handler.cc
+++ b/services/android/java_handler.cc
@@ -56,7 +56,8 @@ void JavaHandler::Initialize(mojo::ApplicationImpl* app) {
}
bool JavaHandler::ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) {
+ mojo::ApplicationConnection* connection,
+ const std::string& url) {
connection->AddService(&content_handler_factory_);
return true;
}
@@ -109,4 +110,3 @@ extern "C" JNI_EXPORT void InitApplicationContext(
JNIEnv* env = base::android::AttachCurrentThread();
base::android::InitApplicationContext(env, context);
}
-

Powered by Google App Engine
This is Rietveld 408576698