Index: net/url_request/url_request.h |
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h |
index 27db7d0ef505b755ec00fd5c6298932725e8720f..79cb7fdc1aab6d2bb85f4b673ce700bac1ec4641 100644 |
--- a/net/url_request/url_request.h |
+++ b/net/url_request/url_request.h |
@@ -595,6 +595,9 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe), |
void SetAuth(const AuthCredentials& credentials); |
void CancelAuth(); |
+ // Check whether the request has authentication credentials. |
+ bool HasAuth() const; |
+ |
// This method can be called after the user selects a client certificate to |
// instruct this URLRequest to continue with the request with the |
// certificate. Pass NULL if the user doesn't have a client certificate. |