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/socket_stream | |
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/socket_stream')
-rw-r--r-- | net/socket_stream/socket_stream.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket_stream/socket_stream.cc b/net/socket_stream/socket_stream.cc index 7c1369c..e9fe842 100644 --- a/net/socket_stream/socket_stream.cc +++ b/net/socket_stream/socket_stream.cc @@ -551,7 +551,7 @@ int SocketStream::DoWriteTunnelHeaders() { CreatePreemptiveAuthHandlerFromString( entry->auth_challenge(), HttpAuth::AUTH_PROXY, ProxyAuthOrigin(), entry->IncrementNonceCount(), - &handler_preemptive); + net_log_, &handler_preemptive); if (rv_create == OK) { auth_identity_.source = HttpAuth::IDENT_SRC_PATH_LOOKUP; auth_identity_.invalid = false; @@ -891,7 +891,7 @@ int SocketStream::HandleAuthChallenge(const HttpResponseHeaders* headers) { auth_identity_.invalid = true; HttpAuth::ChooseBestChallenge(http_auth_handler_factory_, headers, HttpAuth::AUTH_PROXY, - auth_origin, &auth_handler_); + auth_origin, net_log_, &auth_handler_); if (!auth_handler_) { LOG(ERROR) << "Can't perform auth to the proxy " << auth_origin; return ERR_TUNNEL_CONNECTION_FAILED; |