summaryrefslogtreecommitdiffstats
path: root/net/tools
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-21 23:18:11 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-21 23:18:11 +0000
commit9f59fac37e0af9a1e8a840fa18b6c1c69f221cdf (patch)
tree6ac47bc52e32f5a1b9a7917582e993116c0bcf17 /net/tools
parent48f67668c7362e2532636fe241a3f631a0c9945c (diff)
downloadchromium_src-9f59fac37e0af9a1e8a840fa18b6c1c69f221cdf.zip
chromium_src-9f59fac37e0af9a1e8a840fa18b6c1c69f221cdf.tar.gz
chromium_src-9f59fac37e0af9a1e8a840fa18b6c1c69f221cdf.tar.bz2
Make CertVerifier a pure virtual interface.
The existing CertVerifier implementation has been renamed to MultiThreadedCertVerifier, consistent with ProxyResolver naming. This is patch 1 of N for http://crbug.com/114343 BUG=114343 TEST=Compiles and existing unittests pass. Review URL: https://chromiumcodereview.appspot.com/9476035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128090 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools')
-rw-r--r--net/tools/fetch/fetch_client.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/tools/fetch/fetch_client.cc b/net/tools/fetch/fetch_client.cc
index 7b8c7e2..32feba3 100644
--- a/net/tools/fetch/fetch_client.cc
+++ b/net/tools/fetch/fetch_client.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -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::CreateDefault());
scoped_ptr<net::ProxyService> proxy_service(
net::ProxyService::CreateDirect());
scoped_refptr<net::SSLConfigService> ssl_config_service(