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

Unified Diff: chrome/browser/ui/android/chrome_http_auth_handler.cc

Issue 378633002: Upstream support for basic Http authentication. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
Index: chrome/browser/ui/android/chrome_http_auth_handler.cc
diff --git a/chrome/browser/ui/android/chrome_http_auth_handler.cc b/chrome/browser/ui/android/chrome_http_auth_handler.cc
index fd85d9a6fcf4531d074cb0bdf2e04bbf6d64d500..ed551b0d183942b57b0d00a34158c6f3519703fb 100644
--- a/chrome/browser/ui/android/chrome_http_auth_handler.cc
+++ b/chrome/browser/ui/android/chrome_http_auth_handler.cc
@@ -39,8 +39,12 @@ void ChromeHttpAuthHandler::SetObserver(LoginHandler* observer) {
observer_ = observer;
}
-jobject ChromeHttpAuthHandler::GetJavaObject() {
- return java_chrome_http_auth_handler_.obj();
+void ChromeHttpAuthHandler::ShowDialog(jobject window_android) {
+ JNIEnv* env = AttachCurrentThread();
+ Java_ChromeHttpAuthHandler_showDialog(
+ env,
+ java_chrome_http_auth_handler_.obj(),
+ window_android);
}
void ChromeHttpAuthHandler::OnAutofillDataAvailable(
« no previous file with comments | « chrome/browser/ui/android/chrome_http_auth_handler.h ('k') | chrome/browser/ui/android/login_prompt_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698