Chromium Code Reviews| Index: content/browser/loader/resource_loader.cc |
| =================================================================== |
| --- content/browser/loader/resource_loader.cc (revision 242921) |
| +++ 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) { |
|
jam
2014/01/03 23:22:10
I moved this check to the content layer since cont
|
| request_->Cancel(); |
| return; |
| } |