diff options
Diffstat (limited to 'chrome/service/net/service_url_request_context.cc')
-rw-r--r-- | chrome/service/net/service_url_request_context.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/service/net/service_url_request_context.cc b/chrome/service/net/service_url_request_context.cc index 59cea2b..7f589e0 100644 --- a/chrome/service/net/service_url_request_context.cc +++ b/chrome/service/net/service_url_request_context.cc @@ -13,6 +13,7 @@ #include "base/sys_info.h" #include "chrome/common/chrome_version_info.h" #include "chrome/service/service_process.h" +#include "net/base/cert_verifier.h" #include "net/base/cookie_monster.h" #include "net/base/cookie_policy.h" #include "net/base/dnsrr_resolver.h" @@ -117,6 +118,7 @@ ServiceURLRequestContext::ServiceURLRequestContext( g_service_process->file_thread()->message_loop()); proxy_service_ = net::ProxyService::CreateUsingSystemProxyResolver( proxy_config_service, 0u, NULL); + cert_verifier_ = new net::CertVerifier; dnsrr_resolver_ = new net::DnsRRResolver; ftp_transaction_factory_ = new net::FtpNetworkLayer(host_resolver_); ssl_config_service_ = new net::SSLConfigServiceDefaults; @@ -124,6 +126,7 @@ ServiceURLRequestContext::ServiceURLRequestContext( host_resolver_); http_transaction_factory_ = new net::HttpCache( net::HttpNetworkLayer::CreateFactory(host_resolver_, + cert_verifier_, dnsrr_resolver_, NULL /* dns_cert_checker */, NULL /* ssl_host_info_factory */, @@ -151,6 +154,7 @@ ServiceURLRequestContext::~ServiceURLRequestContext() { delete ftp_transaction_factory_; delete http_transaction_factory_; delete http_auth_handler_factory_; + delete cert_verifier_; delete dnsrr_resolver_; } |