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

Unified Diff: android_webview/native/aw_http_auth_handler.cc

Issue 12091111: Implement Webviewclient.onReceivedSslError (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wasting time... Created 7 years, 10 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
« no previous file with comments | « android_webview/native/aw_http_auth_handler.h ('k') | android_webview/native/webview_native.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_http_auth_handler.cc
diff --git a/android_webview/native/aw_http_auth_handler.cc b/android_webview/native/aw_http_auth_handler.cc
index 2f6a8f7635474508e7f3d525d971361cb7c1448a..8bcebbaa28075fcf2b70f2890ea49a07b7f60e67 100644
--- a/android_webview/native/aw_http_auth_handler.cc
+++ b/android_webview/native/aw_http_auth_handler.cc
@@ -56,12 +56,13 @@ void AwHttpAuthHandler::Cancel(JNIEnv* env, jobject obj) {
}
}
-void AwHttpAuthHandler::HandleOnUIThread(content::WebContents* web_contents) {
+bool AwHttpAuthHandler::HandleOnUIThread(content::WebContents* web_contents) {
DCHECK(web_contents);
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
AwContents* aw_contents = AwContents::FromWebContents(web_contents);
- aw_contents->OnReceivedHttpAuthRequest(http_auth_handler_, host_, realm_);
+ return aw_contents->OnReceivedHttpAuthRequest(http_auth_handler_, host_,
+ realm_);
}
// static
« no previous file with comments | « android_webview/native/aw_http_auth_handler.h ('k') | android_webview/native/webview_native.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698