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

Unified Diff: content/browser/android/interstitial_page_delegate_android.h

Issue 1489453003: jni: Pass method parameters as JavaParamRef in content. (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: content/browser/android/interstitial_page_delegate_android.h
diff --git a/content/browser/android/interstitial_page_delegate_android.h b/content/browser/android/interstitial_page_delegate_android.h
index bd28d381c9dfb4d0d166a746959780d8d45d11f2..69816b60ed7b4a0b4b98f5993c718f758e4662f5 100644
--- a/content/browser/android/interstitial_page_delegate_android.h
+++ b/content/browser/android/interstitial_page_delegate_android.h
@@ -31,8 +31,9 @@ class InterstitialPageDelegateAndroid : public InterstitialPageDelegate {
void set_interstitial_page(InterstitialPage* page) { page_ = page; }
// Methods called from Java.
- void Proceed(JNIEnv* env, jobject obj);
- void DontProceed(JNIEnv* env, jobject obj);
+ void Proceed(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj);
+ void DontProceed(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj);
// Implementation of InterstitialPageDelegate
std::string GetHTMLContents() override;

Powered by Google App Engine
This is Rietveld 408576698