Index: net/url_request/url_request_job.h |
diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h |
index ae956733ee700aae6e3759ee6b43b62c2e9adfbe..0a1c79fa8cbf759860f13ac7ec9734218cdc11db 100644 |
--- a/net/url_request/url_request_job.h |
+++ b/net/url_request/url_request_job.h |
@@ -157,6 +157,11 @@ class NET_EXPORT URLRequestJob : public base::RefCounted<URLRequestJob>, |
// obtaining the credentials passing them to SetAuth. |
virtual bool NeedsAuth(); |
+ // Determine whether the request has authentication credentials. This call |
+ // will return true of SetAuth() is called without any subsequent CancelAuth() |
+ // calls. |
+ virtual bool HasAuth() const OVERRIDE; |
+ |
// Fills the authentication info with the server's response. |
virtual void GetAuthChallengeInfo( |
scoped_refptr<AuthChallengeInfo>* auth_info); |