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

Unified Diff: android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc

Issue 124113003: Remove calls of PrerenderTracker::TryCancel and TryCancelOnIOThread in ChromeResourceDispatcherHost… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: simplify Created 6 years, 11 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/renderer_host/aw_resource_dispatcher_host_delegate.cc
===================================================================
--- android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc (revision 243099)
+++ android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc (working copy)
@@ -290,25 +290,6 @@
}
}
-bool AwResourceDispatcherHostDelegate::AcceptAuthRequest(
- net::URLRequest* request,
- net::AuthChallengeInfo* auth_info) {
- return true;
-}
-
-bool AwResourceDispatcherHostDelegate::AcceptSSLClientCertificateRequest(
- net::URLRequest* request,
- net::SSLCertRequestInfo* cert_info) {
- // WebView does not support client certificate selection, however it does
- // send a no-certificate response to the server to allow it decide how to
- // proceed. The base class returns false here, which causes the entire
- // resource request to be abort. We don't want that, so we must return true
- // here (and subsequently complete the request in
- // AwContentBrowserClient::SelectClientCertificate) to get the intended
- // behavior.
- return true;
-}
-
content::ResourceDispatcherHostLoginDelegate*
AwResourceDispatcherHostDelegate::CreateLoginDelegate(
net::AuthChallengeInfo* auth_info,

Powered by Google App Engine
This is Rietveld 408576698