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

Unified Diff: chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h

Issue 1481553002: jni: Pass method parameters as JavaParamRef in chrome/browser/ui. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h
diff --git a/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h b/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h
index fa66a0b7780596c75397b8845231cd99b6bfe91d..e37eda5b119e95ddaad1e04023454ba5d8db20b9 100644
--- a/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h
+++ b/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h
@@ -38,15 +38,17 @@ class AutofillDialogControllerAndroid : public AutofillDialogController {
void TabActivated() override;
// JNI bindings for Java-side AutofillDialogDelegate:
- void DialogCancel(JNIEnv* env, jobject obj);
- void DialogContinue(JNIEnv* env,
- jobject obj,
- jobject full_wallet,
- jboolean last_used_choice_is_autofill,
- jstring last_used_account_name,
- jstring last_used_billing,
- jstring last_used_shipping,
- jstring last_used_credit_card);
+ void DialogCancel(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj);
+ void DialogContinue(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj,
+ const base::android::JavaParamRef<jobject>& full_wallet,
+ jboolean last_used_choice_is_autofill,
+ const base::android::JavaParamRef<jstring>& last_used_account_name,
+ const base::android::JavaParamRef<jstring>& last_used_billing,
+ const base::android::JavaParamRef<jstring>& last_used_shipping,
+ const base::android::JavaParamRef<jstring>& last_used_credit_card);
// Establishes JNI bindings.
static bool RegisterAutofillDialogControllerAndroid(JNIEnv* env);
« no previous file with comments | « no previous file | chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698