| Index: net/http/http_auth_handler_basic.cc
|
| diff --git a/net/http/http_auth_handler_basic.cc b/net/http/http_auth_handler_basic.cc
|
| index 45367857297c8a488bc8a191d6b50d5971862afc..fe11286aa4e6785a7c6b9f6142b9ae7227de09b6 100644
|
| --- a/net/http/http_auth_handler_basic.cc
|
| +++ b/net/http/http_auth_handler_basic.cc
|
| @@ -53,7 +53,8 @@ bool ParseRealm(const HttpAuthChallengeTokenizer& tokenizer,
|
|
|
| } // namespace
|
|
|
| -bool HttpAuthHandlerBasic::Init(HttpAuthChallengeTokenizer* challenge) {
|
| +bool HttpAuthHandlerBasic::Init(HttpAuthChallengeTokenizer* challenge,
|
| + const HttpResponseInfo& response_info) {
|
| auth_scheme_ = HttpAuth::AUTH_SCHEME_BASIC;
|
| score_ = 1;
|
| properties_ = 0;
|
| @@ -109,6 +110,7 @@ HttpAuthHandlerBasic::Factory::~Factory() {
|
| int HttpAuthHandlerBasic::Factory::CreateAuthHandler(
|
| HttpAuthChallengeTokenizer* challenge,
|
| HttpAuth::Target target,
|
| + const HttpResponseInfo& response_info,
|
| const GURL& origin,
|
| CreateReason reason,
|
| int digest_nonce_count,
|
| @@ -117,7 +119,8 @@ int HttpAuthHandlerBasic::Factory::CreateAuthHandler(
|
| // TODO(cbentzel): Move towards model of parsing in the factory
|
| // method and only constructing when valid.
|
| scoped_ptr<HttpAuthHandler> tmp_handler(new HttpAuthHandlerBasic());
|
| - if (!tmp_handler->InitFromChallenge(challenge, target, origin, net_log))
|
| + if (!tmp_handler->InitFromChallenge(challenge, target, response_info, origin,
|
| + net_log))
|
| return ERR_INVALID_RESPONSE;
|
| handler->swap(tmp_handler);
|
| return OK;
|
|
|