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

Unified Diff: chrome/browser/ui/android/autofill/password_generation_popup_view_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
Index: chrome/browser/ui/android/autofill/password_generation_popup_view_android.h
diff --git a/chrome/browser/ui/android/autofill/password_generation_popup_view_android.h b/chrome/browser/ui/android/autofill/password_generation_popup_view_android.h
index 806efa4829bfde7b6beb888e1753782062277f66..27f4ce87117e400062bdc6cb842295b7e68d9579 100644
--- a/chrome/browser/ui/android/autofill/password_generation_popup_view_android.h
+++ b/chrome/browser/ui/android/autofill/password_generation_popup_view_android.h
@@ -23,13 +23,16 @@ class PasswordGenerationPopupViewAndroid : public PasswordGenerationPopupView {
PasswordGenerationPopupController* controller);
// Called from JNI when the "saved passwords" link was clicked.
- void SavedPasswordsLinkClicked(JNIEnv* env, jobject obj);
+ void SavedPasswordsLinkClicked(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj);
// Called from JNI when the popup was dismissed.
- void Dismissed(JNIEnv* env, jobject obj);
+ void Dismissed(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj);
// Called from JNI when the suggested password was selected.
- void PasswordSelected(JNIEnv* env, jobject object);
+ void PasswordSelected(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& object);
// Registers the popup with JNI.
static bool Register(JNIEnv* env);

Powered by Google App Engine
This is Rietveld 408576698