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

Unified Diff: mandoline/app/android/mandoline_activity.cc

Issue 1312153003: jni_generator: Pass object parameters as JavaParamRef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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 | « content/shell/browser/shell_mojo_test_utils_android.cc ('k') | mojo/android/javatests/mojo_test_case.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/app/android/mandoline_activity.cc
diff --git a/mandoline/app/android/mandoline_activity.cc b/mandoline/app/android/mandoline_activity.cc
index f7e19f689a02804bc66cd1c080179bddf641be83..0d05724fcf4b00c2cf22a0ca7bc8cea70cd516ee 100644
--- a/mandoline/app/android/mandoline_activity.cc
+++ b/mandoline/app/android/mandoline_activity.cc
@@ -10,7 +10,9 @@
namespace mandoline {
-static void LaunchURL(JNIEnv* env, jclass clazz, jstring jurl) {
+static void LaunchURL(JNIEnv* env,
+ const JavaParamRef<jclass>& clazz,
+ const JavaParamRef<jstring>& jurl) {
LaunchHandlerPtr launch_handler;
mojo::runner::GetContext()->application_manager()->ConnectToService(
GURL("mojo:phone_ui"), &launch_handler);
« no previous file with comments | « content/shell/browser/shell_mojo_test_utils_android.cc ('k') | mojo/android/javatests/mojo_test_case.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698