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

Unified Diff: android_webview/browser/aw_login_delegate.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
Index: android_webview/browser/aw_login_delegate.cc
diff --git a/android_webview/browser/aw_login_delegate.cc b/android_webview/browser/aw_login_delegate.cc
index d169710f88c615a5d692dfd5d64fc068bd8944f4..c2ea5a410b3b90981c72b547581b9dafb00713da 100644
--- a/android_webview/browser/aw_login_delegate.cc
+++ b/android_webview/browser/aw_login_delegate.cc
@@ -96,7 +96,10 @@ void AwLoginDelegate::HandleHttpAuthRequestOnUIThread(
WebContents* web_contents = WebContents::FromRenderViewHost(
render_view_host);
- aw_http_auth_handler_->HandleOnUIThread(web_contents);
+ if (!aw_http_auth_handler_->HandleOnUIThread(web_contents)) {
+ Cancel();
+ return;
+ }
}
void AwLoginDelegate::CancelOnIOThread() {

Powered by Google App Engine
This is Rietveld 408576698