diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-08 01:48:31 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-08 01:48:31 +0000 |
commit | 9b3ef464c036a62a58a073e14b79cf9ecb790578 (patch) | |
tree | 816e67d3cf423e3f27997a3fc259d7cf855883d3 /net/socket/tcp_client_socket_pool.cc | |
parent | 65695a1fa1d175e85663eeb8ae0f1942c3d09703 (diff) | |
download | chromium_src-9b3ef464c036a62a58a073e14b79cf9ecb790578.zip chromium_src-9b3ef464c036a62a58a073e14b79cf9ecb790578.tar.gz chromium_src-9b3ef464c036a62a58a073e14b79cf9ecb790578.tar.bz2 |
Flush socket pools and SPDY session pool properly on explicit requests and network changes.
BUG=40455,40457
Review URL: http://codereview.chromium.org/1615005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43908 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/tcp_client_socket_pool.cc')
-rw-r--r-- | net/socket/tcp_client_socket_pool.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/socket/tcp_client_socket_pool.cc b/net/socket/tcp_client_socket_pool.cc index a833e01..db8a88a 100644 --- a/net/socket/tcp_client_socket_pool.cc +++ b/net/socket/tcp_client_socket_pool.cc @@ -176,13 +176,11 @@ TCPClientSocketPool::TCPClientSocketPool( int max_sockets_per_group, const std::string& name, HostResolver* host_resolver, - ClientSocketFactory* client_socket_factory, - NetworkChangeNotifier* network_change_notifier) + ClientSocketFactory* client_socket_factory) : base_(max_sockets, max_sockets_per_group, name, base::TimeDelta::FromSeconds(kUnusedIdleSocketTimeout), base::TimeDelta::FromSeconds(kUsedIdleSocketTimeout), - new TCPConnectJobFactory(client_socket_factory, host_resolver), - network_change_notifier) { + new TCPConnectJobFactory(client_socket_factory, host_resolver)) { base_.enable_backup_jobs(); } |