Chromium Code Reviews| Index: net/url_request/url_request_http_job.cc |
| diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc |
| index bbb229b7f6d087e40a7213cff38170e9bf7a86f6..885762bb8d76100146351ae8c81e6d9e8b127256 100644 |
| --- a/net/url_request/url_request_http_job.cc |
| +++ b/net/url_request/url_request_http_job.cc |
| @@ -444,7 +444,8 @@ void URLRequestHttpJob::StopCaching() { |
| void URLRequestHttpJob::OnCanGetCookiesCompleted(int policy) { |
| // If the request was destroyed, then there is no more work to do. |
| if (request_ && request_->delegate()) { |
| - if (policy == net::ERR_ACCESS_DENIED) { |
| + if (policy == net::ERR_ACCESS_DENIED && |
|
darin (slow to review)
2010/11/30 18:24:11
style-nit: it seems like an outer if (request_->co
jochen (gone - plz use gerrit)
2010/12/03 16:02:32
Done.
|
| + request_->context()->cookie_store()) { |
| request_->delegate()->OnGetCookies(request_, true); |
| } else if (policy == net::OK && request_->context()->cookie_store()) { |
| request_->delegate()->OnGetCookies(request_, false); |