| Index: net/http/http_auth_handler_factory.cc
|
| diff --git a/net/http/http_auth_handler_factory.cc b/net/http/http_auth_handler_factory.cc
|
| index 5f24fccf3724c8533cf4d3b930dbed4c65c5b169..90b29c7e76cef3cf0bc2d93a4d09629ebd4970fa 100644
|
| --- a/net/http/http_auth_handler_factory.cc
|
| +++ b/net/http/http_auth_handler_factory.cc
|
| @@ -26,8 +26,8 @@ int HttpAuthHandlerFactory::CreateAuthHandlerFromString(
|
| const BoundNetLog& net_log,
|
| scoped_ptr<HttpAuthHandler>* handler) {
|
| HttpAuthChallengeTokenizer props(challenge.begin(), challenge.end());
|
| - return CreateAuthHandler(&props, target, origin, CREATE_CHALLENGE, 1,
|
| - net_log, handler);
|
| + return CreateAuthHandler(props, target, origin, CREATE_CHALLENGE, 1, net_log,
|
| + handler);
|
| }
|
|
|
| int HttpAuthHandlerFactory::CreatePreemptiveAuthHandlerFromString(
|
| @@ -38,7 +38,7 @@ int HttpAuthHandlerFactory::CreatePreemptiveAuthHandlerFromString(
|
| const BoundNetLog& net_log,
|
| scoped_ptr<HttpAuthHandler>* handler) {
|
| HttpAuthChallengeTokenizer props(challenge.begin(), challenge.end());
|
| - return CreateAuthHandler(&props, target, origin, CREATE_PREEMPTIVE,
|
| + return CreateAuthHandler(props, target, origin, CREATE_PREEMPTIVE,
|
| digest_nonce_count, net_log, handler);
|
| }
|
|
|
| @@ -178,14 +178,14 @@ HttpAuthHandlerRegistryFactory* HttpAuthHandlerRegistryFactory::Create(
|
| }
|
|
|
| int HttpAuthHandlerRegistryFactory::CreateAuthHandler(
|
| - HttpAuthChallengeTokenizer* challenge,
|
| + const HttpAuthChallengeTokenizer& challenge,
|
| HttpAuth::Target target,
|
| const GURL& origin,
|
| CreateReason reason,
|
| int digest_nonce_count,
|
| const BoundNetLog& net_log,
|
| scoped_ptr<HttpAuthHandler>* handler) {
|
| - std::string scheme = challenge->NormalizedScheme();
|
| + std::string scheme = challenge.NormalizedScheme();
|
| if (scheme.empty()) {
|
| handler->reset();
|
| return ERR_INVALID_RESPONSE;
|
|
|