summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_handler_ntlm_win.cc
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-27 15:07:38 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-27 15:07:38 +0000
commitac5c06ec27c40539d4b8c3892def9400af2e3852 (patch)
tree28510fded7167f6d83dbd620c39ec62ee70a01bc /net/http/http_auth_handler_ntlm_win.cc
parent1dc475f2470ea831f31e8d553eea0e4e3d1216cb (diff)
downloadchromium_src-ac5c06ec27c40539d4b8c3892def9400af2e3852.zip
chromium_src-ac5c06ec27c40539d4b8c3892def9400af2e3852.tar.gz
chromium_src-ac5c06ec27c40539d4b8c3892def9400af2e3852.tar.bz2
HttpAuthHandlers hold onto a bound net log.
Although this doesn't have a behavioral impact in this CL, it is needed for additional logging which I'd like to add. BUG=34737 TEST=net_unittests Review URL: http://codereview.chromium.org/2288001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48391 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_handler_ntlm_win.cc')
-rw-r--r--net/http/http_auth_handler_ntlm_win.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/http/http_auth_handler_ntlm_win.cc b/net/http/http_auth_handler_ntlm_win.cc
index 45d88de..160b981 100644
--- a/net/http/http_auth_handler_ntlm_win.cc
+++ b/net/http/http_auth_handler_ntlm_win.cc
@@ -76,6 +76,7 @@ int HttpAuthHandlerNTLM::Factory::CreateAuthHandler(
const GURL& origin,
CreateReason reason,
int digest_nonce_count,
+ const BoundNetLog& net_log,
scoped_refptr<HttpAuthHandler>* handler) {
if (is_unsupported_ || reason == CREATE_PREEMPTIVE)
return ERR_UNSUPPORTED_AUTH_SCHEME;
@@ -92,7 +93,7 @@ int HttpAuthHandlerNTLM::Factory::CreateAuthHandler(
scoped_refptr<HttpAuthHandler> tmp_handler(
new HttpAuthHandlerNTLM(sspi_library_, max_token_length_,
url_security_manager()));
- if (!tmp_handler->InitFromChallenge(challenge, target, origin))
+ if (!tmp_handler->InitFromChallenge(challenge, target, origin, net_log))
return ERR_INVALID_RESPONSE;
handler->swap(tmp_handler);
return OK;