Index: net/http/http_auth_handler_negotiate.cc |
diff --git a/net/http/http_auth_handler_negotiate.cc b/net/http/http_auth_handler_negotiate.cc |
index a183238faf4420704070ed66aa0bff57c7bbaecf..a0fa2dc725ca9533dd676c4a5ff005ee027151ff 100644 |
--- a/net/http/http_auth_handler_negotiate.cc |
+++ b/net/http/http_auth_handler_negotiate.cc |
@@ -42,7 +42,6 @@ void HttpAuthHandlerNegotiate::Factory::set_host_resolver( |
scoped_ptr<HttpAuthHandler> |
HttpAuthHandlerNegotiate::Factory::CreateAndInitPreemptiveAuthHandler( |
HttpAuthCache::Entry* cache_entry, |
- const HttpAuthChallengeTokenizer& tokenizer, |
HttpAuth::Target target, |
const BoundNetLog& net_log) { |
return scoped_ptr<HttpAuthHandler>(); |
@@ -195,8 +194,10 @@ bool HttpAuthHandlerNegotiate::AllowsExplicitCredentials() { |
// The Negotiate challenge header looks like: |
// WWW-Authenticate: NEGOTIATE auth-data |
-int HttpAuthHandlerNegotiate::Init( |
- const HttpAuthChallengeTokenizer& challenge) { |
+int HttpAuthHandlerNegotiate::InitializeFromChallengeInternal( |
+ const HttpAuthChallengeTokenizer& challenge, |
+ const HttpResponseInfo& response_with_challenge, |
+ const CompletionCallback& callback) { |
#if defined(OS_POSIX) |
if (!auth_system_.Init()) { |
VLOG(1) << "can't initialize GSSAPI library"; |
@@ -219,6 +220,12 @@ int HttpAuthHandlerNegotiate::Init( |
: ERR_INVALID_RESPONSE; |
} |
+int HttpAuthHandlerNegotiate::InitializeFromCacheEntryInternal( |
+ HttpAuthCache::Entry*) { |
+ NOTREACHED(); |
+ return ERR_UNSUPPORTED_AUTH_SCHEME; |
+} |
+ |
int HttpAuthHandlerNegotiate::GenerateAuthTokenImpl( |
const AuthCredentials* credentials, |
const HttpRequestInfo& request, |