| 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 3262767ef1cc12fbad183af41d44c7daed802a10..bd923bc4e9b88456b0a7c0a2a2d2ecbe3d0ccd0d 100644
|
| --- a/net/http/http_auth_handler_negotiate.cc
|
| +++ b/net/http/http_auth_handler_negotiate.cc
|
| @@ -7,11 +7,13 @@
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| #include "base/logging.h"
|
| +#include "base/strings/string_util.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "net/base/address_family.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/dns/host_resolver.h"
|
| #include "net/dns/single_request_host_resolver.h"
|
| +#include "net/http/http_auth_challenge_tokenizer.h"
|
| #include "net/http/http_auth_filter.h"
|
| #include "net/http/url_security_manager.h"
|
|
|
| @@ -204,9 +206,7 @@ bool HttpAuthHandlerNegotiate::Init(HttpAuthChallengeTokenizer* challenge) {
|
| #endif
|
| if (CanDelegate())
|
| auth_system_.Delegate();
|
| - auth_scheme_ = HttpAuth::AUTH_SCHEME_NEGOTIATE;
|
| - score_ = 4;
|
| - properties_ = ENCRYPTS_IDENTITY | IS_CONNECTION_BASED;
|
| + auth_scheme_ = "negotiate";
|
| HttpAuth::AuthorizationResult auth_result =
|
| auth_system_.ParseChallenge(challenge);
|
| return (auth_result == HttpAuth::AUTHORIZATION_RESULT_ACCEPT);
|
|
|