diff options
author | csilv@chromium.org <csilv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-04 01:41:59 +0000 |
---|---|---|
committer | csilv@chromium.org <csilv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-04 01:41:59 +0000 |
commit | 7abf7d23f2e0b7ba4a68266ca1dabb919e243558 (patch) | |
tree | b89f6c544e53149570bb44b25600c7851d8a7021 /net/spdy/spdy_test_util.h | |
parent | ae7d85482dd44ffd2061fd6dc692f4d1ef769d18 (diff) | |
download | chromium_src-7abf7d23f2e0b7ba4a68266ca1dabb919e243558.zip chromium_src-7abf7d23f2e0b7ba4a68266ca1dabb919e243558.tar.gz chromium_src-7abf7d23f2e0b7ba4a68266ca1dabb919e243558.tar.bz2 |
Flush SSL pools after SSL config changes.
BUG=46043
TEST=Verify that SSL pools are flushed after user makes SSL change.
Review URL: http://codereview.chromium.org/3274004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58567 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_test_util.h')
-rw-r--r-- | net/spdy/spdy_test_util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/spdy/spdy_test_util.h b/net/spdy/spdy_test_util.h index 34c1df80..3d7ce0c 100644 --- a/net/spdy/spdy_test_util.h +++ b/net/spdy/spdy_test_util.h @@ -305,7 +305,7 @@ class SpdySessionDependencies { socket_factory(new MockClientSocketFactory), deterministic_socket_factory(new DeterministicMockClientSocketFactory), http_auth_handler_factory(HttpAuthHandlerFactory::CreateDefault()), - spdy_session_pool(new SpdySessionPool()) { + spdy_session_pool(new SpdySessionPool(NULL)) { // Note: The CancelledTransaction test does cleanup by running all // tasks in the message loop (RunAllPending). Unfortunately, that // doesn't clean up tasks on the host resolver thread; and @@ -323,7 +323,7 @@ class SpdySessionDependencies { socket_factory(new MockClientSocketFactory), deterministic_socket_factory(new DeterministicMockClientSocketFactory), http_auth_handler_factory(HttpAuthHandlerFactory::CreateDefault()), - spdy_session_pool(new SpdySessionPool()) {} + spdy_session_pool(new SpdySessionPool(NULL)) {} scoped_refptr<MockHostResolverBase> host_resolver; scoped_refptr<ProxyService> proxy_service; @@ -363,7 +363,7 @@ class SpdyURLRequestContext : public URLRequestContext { SpdyURLRequestContext() { host_resolver_ = new MockHostResolver; proxy_service_ = ProxyService::CreateNull(); - spdy_session_pool_ = new SpdySessionPool(); + spdy_session_pool_ = new SpdySessionPool(NULL); ssl_config_service_ = new SSLConfigServiceDefaults; http_auth_handler_factory_ = HttpAuthHandlerFactory::CreateDefault(); http_transaction_factory_ = new net::HttpCache( |