Chromium Code Reviews| Index: net/http/disk_cache_based_ssl_host_info.cc |
| =================================================================== |
| --- net/http/disk_cache_based_ssl_host_info.cc (revision 68922) |
| +++ net/http/disk_cache_based_ssl_host_info.cc (working copy) |
| @@ -9,6 +9,7 @@ |
| #include "net/base/io_buffer.h" |
| #include "net/base/net_errors.h" |
| #include "net/http/http_cache.h" |
| +#include "net/http/http_network_session.h" |
| namespace net { |
| @@ -16,7 +17,8 @@ |
| const std::string& hostname, |
| const SSLConfig& ssl_config, |
| HttpCache* http_cache) |
| - : SSLHostInfo(hostname, ssl_config), |
| + : SSLHostInfo(hostname, ssl_config, |
| + http_cache->network_layer()->GetSession()->cert_verifier()), |
|
willchan no longer on Chromium
2010/12/13 09:30:53
Can we just pass in the CertVerifier explicitly?
|
| callback_(new CancelableCompletionCallback<DiskCacheBasedSSLHostInfo>( |
| ALLOW_THIS_IN_INITIALIZER_LIST(this), |
| &DiskCacheBasedSSLHostInfo::DoLoop)), |