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

Unified Diff: chrome/browser/chromeos/web_socket_proxy.cc

Issue 9476035: Make CertVerifier a pure virtual interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | net/base/cert_verifier.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/web_socket_proxy.cc
diff --git a/chrome/browser/chromeos/web_socket_proxy.cc b/chrome/browser/chromeos/web_socket_proxy.cc
index 66a3e1aef10660c98fbfd20b332c98f6ab17fb3c..68fef8f8b988ba4888bbf76f72fe580faa62187e 100644
--- a/chrome/browser/chromeos/web_socket_proxy.cc
+++ b/chrome/browser/chromeos/web_socket_proxy.cc
@@ -50,9 +50,9 @@
#include "googleurl/src/gurl.h"
#include "googleurl/src/url_parse.h"
#include "net/base/address_list.h"
-#include "net/base/cert_verifier.h"
#include "net/base/host_port_pair.h"
#include "net/base/io_buffer.h"
+#include "net/base/multi_threaded_cert_verifier.h"
#include "net/base/net_errors.h"
#include "net/base/ssl_config_service.h"
#include "net/socket/client_socket_factory.h"
@@ -615,7 +615,7 @@ class SSLChan : public MessageLoopForIO::Watcher {
net::ClientSocketFactory::GetDefaultFactory();
net::SSLClientSocketContext ssl_context;
if (!cert_verifier_.get())
- cert_verifier_.reset(new net::CertVerifier());
+ cert_verifier_.reset(new net::MultiThreadedCertVerifier());
ssl_context.cert_verifier = cert_verifier_.get();
socket_.reset(factory->CreateSSLClientSocket(
handle, host_port_pair_, ssl_config_, NULL, ssl_context));
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | net/base/cert_verifier.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698