diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-27 15:07:38 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-27 15:07:38 +0000 |
commit | ac5c06ec27c40539d4b8c3892def9400af2e3852 (patch) | |
tree | 28510fded7167f6d83dbd620c39ec62ee70a01bc /net/http/http_auth_handler_negotiate_win.cc | |
parent | 1dc475f2470ea831f31e8d553eea0e4e3d1216cb (diff) | |
download | chromium_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_negotiate_win.cc')
-rw-r--r-- | net/http/http_auth_handler_negotiate_win.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/http/http_auth_handler_negotiate_win.cc b/net/http/http_auth_handler_negotiate_win.cc index 46266e2..4051ab5 100644 --- a/net/http/http_auth_handler_negotiate_win.cc +++ b/net/http/http_auth_handler_negotiate_win.cc @@ -83,9 +83,8 @@ bool HttpAuthHandlerNegotiate::NeedsCanonicalName() { return true; } -int HttpAuthHandlerNegotiate::ResolveCanonicalName(HostResolver* resolver, - CompletionCallback* callback, - const BoundNetLog& net_log) { +int HttpAuthHandlerNegotiate::ResolveCanonicalName( + HostResolver* resolver, CompletionCallback* callback) { // TODO(cbentzel): Add reverse DNS lookup for numeric addresses. DCHECK(!single_resolve_.get()); DCHECK(!disable_cname_lookup_); @@ -96,7 +95,7 @@ int HttpAuthHandlerNegotiate::ResolveCanonicalName(HostResolver* resolver, single_resolve_.reset(new SingleRequestHostResolver(resolver)); int rv = single_resolve_->Resolve(info, &address_list_, &resolve_cname_callback_, - net_log); + net_log_); if (rv == ERR_IO_PENDING) { user_callback_ = callback; return rv; @@ -197,6 +196,7 @@ int HttpAuthHandlerNegotiate::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; @@ -214,7 +214,7 @@ int HttpAuthHandlerNegotiate::Factory::CreateAuthHandler( new HttpAuthHandlerNegotiate(sspi_library_, max_token_length_, url_security_manager(), disable_cname_lookup_, use_port_)); - 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; |