summaryrefslogtreecommitdiffstats
path: root/net/http/http_network_session.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-17 15:41:52 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-17 15:41:52 +0000
commitff1f9df48c3925e022e5c66bca7fa42278ccb354 (patch)
treeca45017c952234f748124cd75ce0d4f864bc3cf1 /net/http/http_network_session.h
parent54ae3ff2256c591e32d3fd63786c7617d2aba6ee (diff)
downloadchromium_src-ff1f9df48c3925e022e5c66bca7fa42278ccb354.zip
chromium_src-ff1f9df48c3925e022e5c66bca7fa42278ccb354.tar.gz
chromium_src-ff1f9df48c3925e022e5c66bca7fa42278ccb354.tar.bz2
Revert "Add connected socket function to ClientSocketPool and ClientSocketHandle."
Broke net_unittests on windows. Review URL: http://codereview.chromium.org/113510 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16261 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_session.h')
-rw-r--r--net/http/http_network_session.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index d96255a..7c4ac68 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -12,16 +12,13 @@
namespace net {
-class ClientSocketFactory;
class ProxyService;
// This class holds session objects used by HttpNetworkTransaction objects.
class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> {
public:
- HttpNetworkSession(ProxyService* proxy_service,
- ClientSocketFactory* client_socket_factory)
- : connection_pool_(new ClientSocketPool(
- max_sockets_per_group_, client_socket_factory)),
+ explicit HttpNetworkSession(ProxyService* proxy_service)
+ : connection_pool_(new ClientSocketPool(max_sockets_per_group_)),
proxy_service_(proxy_service) {
DCHECK(proxy_service);
}