diff options
Diffstat (limited to 'net/http/http_auth_controller.h')
-rw-r--r-- | net/http/http_auth_controller.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net/http/http_auth_controller.h b/net/http/http_auth_controller.h index bcda707..1d0a5cd 100644 --- a/net/http/http_auth_controller.h +++ b/net/http/http_auth_controller.h @@ -63,13 +63,9 @@ class HttpAuthController : public base::RefCounted<HttpAuthController>, virtual void ResetAuth(const string16& username, const string16& password); - virtual bool HaveAuthHandler() const { - return handler_.get() != NULL; - } + virtual bool HaveAuthHandler() const; - virtual bool HaveAuth() const { - return handler_.get() && !identity_.invalid; - } + virtual bool HaveAuth() const; virtual scoped_refptr<AuthChallengeInfo> auth_info(); |