| Index: net/http/http_auth_handler_ntlm_portable.cc
|
| diff --git a/net/http/http_auth_handler_ntlm_portable.cc b/net/http/http_auth_handler_ntlm_portable.cc
|
| index d3abc985c36c1b4f8da0f00610f80973e72cb538..2b06e584408958efed66b59975d71a3287b8cf32 100644
|
| --- a/net/http/http_auth_handler_ntlm_portable.cc
|
| +++ b/net/http/http_auth_handler_ntlm_portable.cc
|
| @@ -643,12 +643,6 @@ HttpAuthHandlerNTLM::get_host_name_proc_ = GetHostName;
|
| HttpAuthHandlerNTLM::HttpAuthHandlerNTLM() {
|
| }
|
|
|
| -HttpAuthHandlerNTLM::~HttpAuthHandlerNTLM() {
|
| - // Wipe our copy of the password from memory, to reduce the chance of being
|
| - // written to the paging file on disk.
|
| - ZapString(&password_);
|
| -}
|
| -
|
| bool HttpAuthHandlerNTLM::NeedsIdentity() {
|
| return !auth_data_.empty();
|
| }
|
| @@ -659,6 +653,16 @@ bool HttpAuthHandlerNTLM::AllowsDefaultCredentials() {
|
| return false;
|
| }
|
|
|
| +int HttpAuthHandlerNTLM::InitializeBeforeFirstChallenge() {
|
| + return OK;
|
| +}
|
| +
|
| +HttpAuthHandlerNTLM::~HttpAuthHandlerNTLM() {
|
| + // Wipe our copy of the password from memory, to reduce the chance of being
|
| + // written to the paging file on disk.
|
| + ZapString(&password_);
|
| +}
|
| +
|
| // static
|
| HttpAuthHandlerNTLM::GenerateRandomProc
|
| HttpAuthHandlerNTLM::SetGenerateRandomProc(
|
| @@ -676,6 +680,12 @@ HttpAuthHandlerNTLM::HostNameProc HttpAuthHandlerNTLM::SetHostNameProc(
|
| return old_proc;
|
| }
|
|
|
| +HttpAuthHandlerNTLM::Factory::Factory() {
|
| +}
|
| +
|
| +HttpAuthHandlerNTLM::Factory::~Factory() {
|
| +}
|
| +
|
| int HttpAuthHandlerNTLM::GetNextToken(const void* in_token,
|
| uint32 in_token_len,
|
| void** out_token,
|
| @@ -702,16 +712,6 @@ int HttpAuthHandlerNTLM::GetNextToken(const void* in_token,
|
| return rv;
|
| }
|
|
|
| -int HttpAuthHandlerNTLM::InitializeBeforeFirstChallenge() {
|
| - return OK;
|
| -}
|
| -
|
| -HttpAuthHandlerNTLM::Factory::Factory() {
|
| -}
|
| -
|
| -HttpAuthHandlerNTLM::Factory::~Factory() {
|
| -}
|
| -
|
| int HttpAuthHandlerNTLM::Factory::CreateAuthHandler(
|
| HttpAuth::ChallengeTokenizer* challenge,
|
| HttpAuth::Target target,
|
|
|