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

Unified Diff: net/url_request/url_request_test_util.cc

Issue 9476035: Make CertVerifier a pure virtual interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win shared fix Created 8 years, 9 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
« no previous file with comments | « net/tools/fetch/fetch_client.cc ('k') | remoting/host/url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_test_util.cc
===================================================================
--- net/url_request/url_request_test_util.cc (revision 128056)
+++ net/url_request/url_request_test_util.cc (working copy)
@@ -8,6 +8,7 @@
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/threading/thread.h"
+#include "net/base/cert_verifier.h"
#include "net/base/default_origin_bound_cert_store.h"
#include "net/base/host_port_pair.h"
#include "net/base/origin_bound_cert_service.h"
@@ -111,7 +112,7 @@
DCHECK(!initialized_);
initialized_ = true;
if (!cert_verifier())
- context_storage_.set_cert_verifier(new net::CertVerifier);
+ context_storage_.set_cert_verifier(net::CertVerifier::CreateDefault());
if (!ftp_transaction_factory()) {
context_storage_.set_ftp_transaction_factory(
new net::FtpNetworkLayer(host_resolver()));
« no previous file with comments | « net/tools/fetch/fetch_client.cc ('k') | remoting/host/url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698