| Index: net/http/http_auth_handler_ntlm.cc
|
| diff --git a/net/http/http_auth_handler_ntlm.cc b/net/http/http_auth_handler_ntlm.cc
|
| index c866598707f173ecd0e2f687ee8bc86f7c22a11a..7d1367e5f2d7bfc138d9b812328dfe15308094dc 100644
|
| --- a/net/http/http_auth_handler_ntlm.cc
|
| +++ b/net/http/http_auth_handler_ntlm.cc
|
| @@ -21,12 +21,22 @@ HttpAuth::AuthorizationResult HttpAuthHandlerNTLM::HandleAnotherChallenge(
|
| return ParseChallenge(challenge, false);
|
| }
|
|
|
| -int HttpAuthHandlerNTLM::Init(const HttpAuthChallengeTokenizer& tok) {
|
| - return ParseChallenge(tok, true) == HttpAuth::AUTHORIZATION_RESULT_ACCEPT
|
| +int HttpAuthHandlerNTLM::InitializeFromChallengeInternal(
|
| + const HttpAuthChallengeTokenizer& challenge,
|
| + const HttpResponseInfo& response_with_challenge,
|
| + const CompletionCallback& callback) {
|
| + return ParseChallenge(challenge, true) ==
|
| + HttpAuth::AUTHORIZATION_RESULT_ACCEPT
|
| ? OK
|
| : ERR_INVALID_RESPONSE;
|
| }
|
|
|
| +int HttpAuthHandlerNTLM::InitializeFromCacheEntryInternal(
|
| + HttpAuthCache::Entry*) {
|
| + NOTREACHED();
|
| + return ERR_UNSUPPORTED_AUTH_SCHEME;
|
| +}
|
| +
|
| int HttpAuthHandlerNTLM::GenerateAuthTokenImpl(
|
| const AuthCredentials* credentials,
|
| const HttpRequestInfo& request,
|
| @@ -145,7 +155,6 @@ std::string HttpAuthHandlerNTLM::CreateSPN(const GURL& origin) {
|
| scoped_ptr<HttpAuthHandler>
|
| HttpAuthHandlerNTLM::Factory::CreateAndInitPreemptiveAuthHandler(
|
| HttpAuthCache::Entry* cache_entry,
|
| - const HttpAuthChallengeTokenizer& tokenizer,
|
| HttpAuth::Target target,
|
| const BoundNetLog& net_log) {
|
| return scoped_ptr<HttpAuthHandler>();
|
|
|