summaryrefslogtreecommitdiffstats
path: root/net/socket/tcp_client_socket_pool.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-17 05:35:06 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-17 05:35:06 +0000
commitd510a78cd1aef9c2bdc692c79bae4a89f4851a98 (patch)
tree1a81aa485c053d3e66ca3ba79f5563838e63ba85 /net/socket/tcp_client_socket_pool.cc
parenta05725888f71e72e3335d265e47643fd2768e39f (diff)
downloadchromium_src-d510a78cd1aef9c2bdc692c79bae4a89f4851a98.zip
chromium_src-d510a78cd1aef9c2bdc692c79bae4a89f4851a98.tar.gz
chromium_src-d510a78cd1aef9c2bdc692c79bae4a89f4851a98.tar.bz2
This is roughly a reland of r43908, although I had to rewrite a fair chunk since code's changed a lot. I've changed it so as not to flush the host resolver too. I suspect there might have been a bug there. I was unable to reproduce the crash here on network change, so I think either that fixed it or something else changed under the hood. In any case, I want to reland this and see if anyone encounters any problems with it.
BUG=40455,40457 Review URL: http://codereview.chromium.org/2114004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47395 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/tcp_client_socket_pool.cc')
-rw-r--r--net/socket/tcp_client_socket_pool.cc6
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 74841cf..2f8e7675 100644
--- a/net/socket/tcp_client_socket_pool.cc
+++ b/net/socket/tcp_client_socket_pool.cc
@@ -177,13 +177,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();
}