Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Unified Diff: net/tools/fetch/fetch_client.cc

Issue 9476035: Make CertVerifier a pure virtual interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Two header fixes Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/tools/fetch/fetch_client.cc
diff --git a/net/tools/fetch/fetch_client.cc b/net/tools/fetch/fetch_client.cc
index 7b8c7e25c0acf65e7807514608a80dce0d041816..5ca52a4d957683c23ad4215970d34e8467756372 100644
--- a/net/tools/fetch/fetch_client.cc
+++ b/net/tools/fetch/fetch_client.cc
@@ -145,7 +145,8 @@ int main(int argc, char** argv) {
net::HostResolver::kDefaultRetryAttempts,
NULL));
- scoped_ptr<net::CertVerifier> cert_verifier(new net::CertVerifier);
+ scoped_ptr<net::CertVerifier> cert_verifier(
+ net::CertVerifier::CreateDefaultCertVerifier());
scoped_ptr<net::ProxyService> proxy_service(
net::ProxyService::CreateDirect());
scoped_refptr<net::SSLConfigService> ssl_config_service(

Powered by Google App Engine
This is Rietveld 408576698