diff options
author | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-30 21:36:43 +0000 |
---|---|---|
committer | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-30 21:36:43 +0000 |
commit | 5695b8c0180f7b33fd04e6e990c78ade5c3d3c15 (patch) | |
tree | c3a174cc7296a72e5fac8bab1226b2540bf0d303 /net/http/http_network_layer.cc | |
parent | 2b9d4583318f24a6fa2c957521aa345f8754c087 (diff) | |
download | chromium_src-5695b8c0180f7b33fd04e6e990c78ade5c3d3c15.zip chromium_src-5695b8c0180f7b33fd04e6e990c78ade5c3d3c15.tar.gz chromium_src-5695b8c0180f7b33fd04e6e990c78ade5c3d3c15.tar.bz2 |
Remove the ClientSocketFactory from the HttpNetworkTransaction
constructor and instead get it from the HttpNetworkLayer.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/244032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27660 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_layer.cc')
-rw-r--r-- | net/http/http_network_layer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/http/http_network_layer.cc b/net/http/http_network_layer.cc index edd8c34..7097cd9 100644 --- a/net/http/http_network_layer.cc +++ b/net/http/http_network_layer.cc @@ -63,7 +63,7 @@ int HttpNetworkLayer::CreateTransaction(scoped_ptr<HttpTransaction>* trans) { if (suspended_) return ERR_NETWORK_IO_SUSPENDED; - trans->reset(new HttpNetworkTransaction(GetSession(), socket_factory_)); + trans->reset(new HttpNetworkTransaction(GetSession())); return OK; } @@ -86,6 +86,7 @@ HttpNetworkSession* HttpNetworkLayer::GetSession() { // These were just temps for lazy-initializing HttpNetworkSession. host_resolver_ = NULL; proxy_service_ = NULL; + socket_factory_ = NULL; } return session_; } |