| Index: chrome/browser/ui/android/chrome_http_auth_handler.h
|
| diff --git a/chrome/browser/ui/android/chrome_http_auth_handler.h b/chrome/browser/ui/android/chrome_http_auth_handler.h
|
| index 4be4031097d814311ab2f83366f539fbe6ed9b0e..4450c5b9f6365f6d324d24694b74047ebc47cb0e 100644
|
| --- a/chrome/browser/ui/android/chrome_http_auth_handler.h
|
| +++ b/chrome/browser/ui/android/chrome_http_auth_handler.h
|
| @@ -41,14 +41,18 @@ class ChromeHttpAuthHandler {
|
| // --------------------------------------------------------------
|
|
|
| // Submits the username and password to the observer.
|
| - void SetAuth(JNIEnv* env, jobject, jstring username, jstring password);
|
| + void SetAuth(JNIEnv* env,
|
| + const base::android::JavaParamRef<jobject>&,
|
| + const base::android::JavaParamRef<jstring>& username,
|
| + const base::android::JavaParamRef<jstring>& password);
|
|
|
| // Cancels the authentication attempt of the observer.
|
| - void CancelAuth(JNIEnv* env, jobject);
|
| + void CancelAuth(JNIEnv* env, const base::android::JavaParamRef<jobject>&);
|
|
|
| // These functions return the strings needed to display a login form.
|
| base::android::ScopedJavaLocalRef<jstring> GetMessageBody(
|
| - JNIEnv* env, jobject);
|
| + JNIEnv* env,
|
| + const base::android::JavaParamRef<jobject>&);
|
| // Registers the ChromeHttpAuthHandler native methods.
|
| static bool RegisterChromeHttpAuthHandler(JNIEnv* env);
|
| private:
|
|
|