summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_handler_ntlm.cc
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-13 13:31:17 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-13 13:31:17 +0000
commit547fc79ddbed132ba12797c4f0e0aeecd3b63b8f (patch)
tree618e14cd18540b93815df91ffd01bd245d3691b4 /net/http/http_auth_handler_ntlm.cc
parent1597bafcf13b29051d16debae1d561b385550572 (diff)
downloadchromium_src-547fc79ddbed132ba12797c4f0e0aeecd3b63b8f.zip
chromium_src-547fc79ddbed132ba12797c4f0e0aeecd3b63b8f.tar.gz
chromium_src-547fc79ddbed132ba12797c4f0e0aeecd3b63b8f.tar.bz2
Cleanup: Use AUTH_SCHEME enum instead of a string.
BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6191001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_handler_ntlm.cc')
-rw-r--r--net/http/http_auth_handler_ntlm.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/http/http_auth_handler_ntlm.cc b/net/http/http_auth_handler_ntlm.cc
index f987e48..c3e44ba 100644
--- a/net/http/http_auth_handler_ntlm.cc
+++ b/net/http/http_auth_handler_ntlm.cc
@@ -93,8 +93,7 @@ int HttpAuthHandlerNTLM::GenerateAuthTokenImpl(
}
bool HttpAuthHandlerNTLM::Init(HttpAuth::ChallengeTokenizer* tok) {
- auth_scheme_ = AUTH_SCHEME_NTLM;
- scheme_ = "ntlm";
+ auth_scheme_ = HttpAuth::AUTH_SCHEME_NTLM;
score_ = 3;
properties_ = ENCRYPTS_IDENTITY | IS_CONNECTION_BASED;