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/spdy/spdy_session_unittest.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/spdy/spdy_session_unittest.cc')
-rw-r--r-- | net/spdy/spdy_session_unittest.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/spdy/spdy_session_unittest.cc b/net/spdy/spdy_session_unittest.cc index 49e4491..ece870c 100644 --- a/net/spdy/spdy_session_unittest.cc +++ b/net/spdy/spdy_session_unittest.cc @@ -28,15 +28,13 @@ class SessionDependencies { SessionDependencies() : host_resolver(new MockHostResolver), proxy_service(ProxyService::CreateNull()), - ssl_config_service(new SSLConfigServiceDefaults), - spdy_session_pool(new SpdySessionPool) { + ssl_config_service(new SSLConfigServiceDefaults) { } scoped_refptr<MockHostResolverBase> host_resolver; scoped_refptr<ProxyService> proxy_service; scoped_refptr<SSLConfigService> ssl_config_service; MockClientSocketFactory socket_factory; - scoped_refptr<SpdySessionPool> spdy_session_pool; }; HttpNetworkSession* CreateSession(SessionDependencies* session_deps) { @@ -45,7 +43,6 @@ HttpNetworkSession* CreateSession(SessionDependencies* session_deps) { session_deps->proxy_service, &session_deps->socket_factory, session_deps->ssl_config_service, - session_deps->spdy_session_pool, NULL); } |