Index: net/socket/ssl_client_socket_pool_unittest.cc |
=================================================================== |
--- net/socket/ssl_client_socket_pool_unittest.cc (revision 69359) |
+++ net/socket/ssl_client_socket_pool_unittest.cc (working copy) |
@@ -10,6 +10,7 @@ |
#include "base/time.h" |
#include "base/utf_string_conversions.h" |
#include "net/base/auth.h" |
+#include "net/base/cert_verifier.h" |
#include "net/base/mock_host_resolver.h" |
#include "net/base/net_errors.h" |
#include "net/base/test_completion_callback.h" |
@@ -36,9 +37,11 @@ |
protected: |
SSLClientSocketPoolTest() |
: host_resolver_(new MockHostResolver), |
+ cert_verifier_(new CertVerifier), |
http_auth_handler_factory_(HttpAuthHandlerFactory::CreateDefault( |
host_resolver_.get())), |
session_(new HttpNetworkSession(host_resolver_.get(), |
+ cert_verifier_.get(), |
NULL /* dnsrr_resolver */, |
NULL /* dns_cert_checker */, |
NULL /* ssl_host_info_factory */, |
@@ -96,7 +99,8 @@ |
kMaxSockets, |
kMaxSocketsPerGroup, |
ssl_histograms_.get(), |
- NULL, |
+ NULL /* host_resolver */, |
+ NULL /* cert_verifier */, |
NULL /* dnsrr_resolver */, |
NULL /* dns_cert_checker */, |
NULL /* ssl_host_info_factory */, |
@@ -131,6 +135,7 @@ |
MockClientSocketFactory socket_factory_; |
scoped_ptr<HostResolver> host_resolver_; |
+ scoped_ptr<CertVerifier> cert_verifier_; |
scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory_; |
scoped_refptr<HttpNetworkSession> session_; |