| Index: net/http/http_auth_controller.cc
|
| diff --git a/net/http/http_auth_controller.cc b/net/http/http_auth_controller.cc
|
| index e4e2dd42a3b3485edd696d9a04f05d49803be01a..8532ce9331d625f55c18dd3affb1045382f404fd 100644
|
| --- a/net/http/http_auth_controller.cc
|
| +++ b/net/http/http_auth_controller.cc
|
| @@ -334,6 +334,14 @@ void HttpAuthController::ResetAuth(const string16& username,
|
| }
|
| }
|
|
|
| +bool HttpAuthController::HaveAuthHandler() const {
|
| + return handler_.get() != NULL;
|
| +}
|
| +
|
| +bool HttpAuthController::HaveAuth() const {
|
| + return handler_.get() && !identity_.invalid;
|
| +}
|
| +
|
| void HttpAuthController::InvalidateCurrentHandler() {
|
| DCHECK(CalledOnValidThread());
|
|
|
|
|