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 988ecdbcf808c0656442f954775a08956adcd945..1308dd21d7810605263118627bab00bd5db416c9 100644 |
--- a/net/url_request/url_request_http_job.cc |
+++ b/net/url_request/url_request_http_job.cc |
@@ -1093,6 +1093,10 @@ bool URLRequestHttpJob::NeedsAuth() { |
return false; |
} |
+bool URLRequestHttpJob::HasAuth() const { |
+ return transaction_.get() ? transaction_->HasAuth() : false; |
+} |
+ |
void URLRequestHttpJob::GetAuthChallengeInfo( |
scoped_refptr<AuthChallengeInfo>* result) { |
DCHECK(transaction_.get()); |