Index: webkit/tools/test_shell/test_shell_request_context.cc |
=================================================================== |
--- webkit/tools/test_shell/test_shell_request_context.cc (revision 69359) |
+++ webkit/tools/test_shell/test_shell_request_context.cc (working copy) |
@@ -7,6 +7,7 @@ |
#include "build/build_config.h" |
#include "base/file_path.h" |
+#include "net/base/cert_verifier.h" |
#include "net/base/cookie_monster.h" |
#include "net/base/host_resolver.h" |
#include "net/base/ssl_config_service.h" |
@@ -62,6 +63,7 @@ |
host_resolver_ = |
net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism, |
NULL, NULL); |
+ cert_verifier_ = new net::CertVerifier; |
proxy_service_ = net::ProxyService::CreateUsingSystemProxyResolver( |
proxy_config_service.release(), 0, NULL); |
ssl_config_service_ = net::SSLConfigService::CreateSystemSSLConfigService(); |
@@ -74,9 +76,9 @@ |
cache_path, 0, SimpleResourceLoaderBridge::GetCacheThread()); |
net::HttpCache* cache = |
- new net::HttpCache(host_resolver_, NULL, NULL, proxy_service_, |
- ssl_config_service_, http_auth_handler_factory_, NULL, |
- NULL, backend); |
+ new net::HttpCache(host_resolver_, cert_verifier_, NULL, NULL, |
+ proxy_service_, ssl_config_service_, |
+ http_auth_handler_factory_, NULL, NULL, backend); |
cache->set_mode(cache_mode); |
http_transaction_factory_ = cache; |
@@ -91,6 +93,7 @@ |
delete http_transaction_factory_; |
delete http_auth_handler_factory_; |
delete static_cast<net::StaticCookiePolicy*>(cookie_policy_); |
+ delete cert_verifier_; |
delete host_resolver_; |
} |