Index: net/http/disk_cache_based_ssl_host_info_unittest.cc |
diff --git a/net/http/disk_cache_based_ssl_host_info_unittest.cc b/net/http/disk_cache_based_ssl_host_info_unittest.cc |
index 9fb4727b1d3d60625dc3cd50962e6ce759451d10..b02a858b34094e568d0ba2a344b743122cf8812a 100644 |
--- a/net/http/disk_cache_based_ssl_host_info_unittest.cc |
+++ b/net/http/disk_cache_based_ssl_host_info_unittest.cc |
@@ -6,6 +6,7 @@ |
#include "base/bind_helpers.h" |
#include "base/compiler_specific.h" |
#include "base/message_loop.h" |
+#include "net/base/multi_threaded_cert_verifier.h" |
#include "net/base/net_errors.h" |
#include "net/base/ssl_config_service.h" |
#include "net/http/disk_cache_based_ssl_host_info.h" |
@@ -33,7 +34,7 @@ const MockTransaction kHostInfoTransaction = { |
// Tests that we can delete a DiskCacheBasedSSLHostInfo object in a |
// completion callback for DiskCacheBasedSSLHostInfo::WaitForDataReady. |
TEST(DiskCacheBasedSSLHostInfo, DeleteInCallback) { |
- net::CertVerifier cert_verifier; |
+ net::MultiThreadedCertVerifier cert_verifier; |
// Use the blocking mock backend factory to force asynchronous completion |
// of ssl_host_info->WaitForDataReady(), so that the callback will run. |
MockBlockingBackendFactory* factory = new MockBlockingBackendFactory(); |
@@ -58,7 +59,7 @@ TEST(DiskCacheBasedSSLHostInfo, Update) { |
net::TestCompletionCallback callback; |
// Store a certificate chain. |
- net::CertVerifier cert_verifier; |
+ net::MultiThreadedCertVerifier cert_verifier; |
net::SSLConfig ssl_config; |
scoped_ptr<net::SSLHostInfo> ssl_host_info( |
new net::DiskCacheBasedSSLHostInfo("https://www.google.com", ssl_config, |