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

Unified Diff: content/browser/loader/resource_loader.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: content/browser/loader/resource_loader.cc
===================================================================
--- content/browser/loader/resource_loader.cc (revision 243099)
+++ content/browser/loader/resource_loader.cc (working copy)
@@ -239,11 +239,6 @@
return;
}
- if (!delegate_->AcceptAuthRequest(this, auth_info)) {
- request_->CancelAuth();
- return;
- }
-
// Create a login dialog on the UI thread to get authentication data, or pull
// from cache and continue on the IO thread.
@@ -259,7 +254,7 @@
net::SSLCertRequestInfo* cert_info) {
DCHECK_EQ(request_.get(), unused);
- if (!delegate_->AcceptSSLClientCertificateRequest(this, cert_info)) {
+ if (request_->load_flags() & net::LOAD_PREFETCH) {
request_->Cancel();
return;
}

Powered by Google App Engine
This is Rietveld 408576698