From 9e1bdd3f9785ed8a84a137c98b781ddaec41b080 Mon Sep 17 00:00:00 2001 From: "willchan@chromium.org" Date: Thu, 3 Feb 2011 21:48:34 +0000 Subject: Refactor HttpNetworkSession construction. Introduce HttpNetworkSession::Params. This should make it easy to add new optionally NULL parameters. I also took this opportunity to eliminate some copy/pastes of TestURLRequestContext and make them use the original. I was also able to remove the need for ClientSocketFactory::GetDefaultFactory() calls and new SpdySessionPool() calls in most places. BUG=none TEST=none Review URL: http://codereview.chromium.org/6349028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73669 0039d316-1c4b-4281-b951-d872f2087c98 --- net/http/http_network_layer.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'net/http/http_network_layer.cc') diff --git a/net/http/http_network_layer.cc b/net/http/http_network_layer.cc index 293f8ec..73e6f8d 100644 --- a/net/http/http_network_layer.cc +++ b/net/http/http_network_layer.cc @@ -10,10 +10,8 @@ #include "base/string_util.h" #include "net/http/http_network_session.h" #include "net/http/http_network_transaction.h" -#include "net/socket/client_socket_factory.h" #include "net/spdy/spdy_framer.h" #include "net/spdy/spdy_session.h" -#include "net/spdy/spdy_session_pool.h" namespace net { -- cgit v1.1