From 8281f7022c819a13d5d1741d2c1ff73aa4e994a9 Mon Sep 17 00:00:00 2001 From: "agl@chromium.org" Date: Mon, 18 Oct 2010 13:28:28 +0000 Subject: net: clean up SSLHostInfo construction. Create an SSLHostInfoFactory interface and plumb it from the HttpCache to the SSLConnectJob. Also, move the SSLHostInfo reference from the ssl_config to being passed to the SSLClientSocket. BUG=none TEST=net_unittests Review URL: http://codereview.chromium.org/3747003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62918 0039d316-1c4b-4281-b951-d872f2087c98 --- net/socket/tcp_client_socket_pool_unittest.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'net/socket/tcp_client_socket_pool_unittest.cc') diff --git a/net/socket/tcp_client_socket_pool_unittest.cc b/net/socket/tcp_client_socket_pool_unittest.cc index c550232..32ac9f8 100644 --- a/net/socket/tcp_client_socket_pool_unittest.cc +++ b/net/socket/tcp_client_socket_pool_unittest.cc @@ -245,8 +245,10 @@ class MockClientSocketFactory : public ClientSocketFactory { virtual SSLClientSocket* CreateSSLClientSocket( ClientSocketHandle* transport_socket, const std::string& hostname, - const SSLConfig& ssl_config) { + const SSLConfig& ssl_config, + SSLHostInfo* ssl_host_info) { NOTIMPLEMENTED(); + delete ssl_host_info; return NULL; } -- cgit v1.1