Index: net/http/http_proxy_client_socket_pool_unittest.cc |
diff --git a/net/http/http_proxy_client_socket_pool_unittest.cc b/net/http/http_proxy_client_socket_pool_unittest.cc |
index 0a27d62d5f888a6810eab00dab5c033f1858b908..6d03c19b933a8fc9e6fd024d4fcc5017d039e632 100644 |
--- a/net/http/http_proxy_client_socket_pool_unittest.cc |
+++ b/net/http/http_proxy_client_socket_pool_unittest.cc |
@@ -50,8 +50,10 @@ class HttpProxyClientSocketPoolTest : public TestWithHttpParam { |
kMaxSocketsPerGroup, tcp_histograms_, &tcp_client_socket_factory_)), |
ssl_socket_pool_(new MockSSLClientSocketPool(kMaxSockets, |
kMaxSocketsPerGroup, tcp_histograms_, &tcp_client_socket_factory_)), |
- http_auth_handler_factory_(HttpAuthHandlerFactory::CreateDefault()), |
- session_(new HttpNetworkSession(new MockHostResolver, |
+ host_resolver_(new MockHostResolver), |
+ http_auth_handler_factory_( |
+ HttpAuthHandlerFactory::CreateDefault(host_resolver_)), |
+ session_(new HttpNetworkSession(host_resolver_, |
ProxyService::CreateDirect(), |
&socket_factory_, |
new SSLConfigServiceDefaults, |
@@ -118,6 +120,7 @@ class HttpProxyClientSocketPoolTest : public TestWithHttpParam { |
scoped_refptr<MockSSLClientSocketPool> ssl_socket_pool_; |
MockClientSocketFactory socket_factory_; |
+ scoped_refptr<HostResolver> host_resolver_; |
scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory_; |
scoped_refptr<HttpNetworkSession> session_; |
scoped_refptr<ClientSocketPoolHistograms> http_proxy_histograms_; |