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 c3e44ba15255566e9f2c2c6e8cd8f18fc4934471..5090918d9b323776486a6ff63e6065489175fd20 100644 |
--- a/net/http/http_auth_handler_ntlm.cc |
+++ b/net/http/http_auth_handler_ntlm.cc |
@@ -15,6 +15,19 @@ |
namespace net { |
+HttpAuth::AuthorizationResult HttpAuthHandlerNTLM::HandleAnotherChallenge( |
+ HttpAuth::ChallengeTokenizer* challenge) { |
+ return ParseChallenge(challenge, false); |
+} |
+ |
+bool HttpAuthHandlerNTLM::Init(HttpAuth::ChallengeTokenizer* tok) { |
+ auth_scheme_ = HttpAuth::AUTH_SCHEME_NTLM; |
+ score_ = 3; |
+ properties_ = ENCRYPTS_IDENTITY | IS_CONNECTION_BASED; |
+ |
+ return ParseChallenge(tok, true) == HttpAuth::AUTHORIZATION_RESULT_ACCEPT; |
+} |
+ |
int HttpAuthHandlerNTLM::GenerateAuthTokenImpl( |
const string16* username, |
const string16* password, |
@@ -92,19 +105,6 @@ int HttpAuthHandlerNTLM::GenerateAuthTokenImpl( |
#endif |
} |
-bool HttpAuthHandlerNTLM::Init(HttpAuth::ChallengeTokenizer* tok) { |
- auth_scheme_ = HttpAuth::AUTH_SCHEME_NTLM; |
- score_ = 3; |
- properties_ = ENCRYPTS_IDENTITY | IS_CONNECTION_BASED; |
- |
- return ParseChallenge(tok, true) == HttpAuth::AUTHORIZATION_RESULT_ACCEPT; |
-} |
- |
-HttpAuth::AuthorizationResult HttpAuthHandlerNTLM::HandleAnotherChallenge( |
- HttpAuth::ChallengeTokenizer* challenge) { |
- return ParseChallenge(challenge, false); |
-} |
- |
// The NTLM challenge header looks like: |
// WWW-Authenticate: NTLM auth-data |
HttpAuth::AuthorizationResult HttpAuthHandlerNTLM::ParseChallenge( |