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

Unified Diff: jingle/notifier/base/chrome_async_socket_unittest.cc

Issue 5958001: The MediatorThread worker thread needs to have a CertVerifier... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix typos in xmpp_connection_unittest.cc Created 10 years 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: jingle/notifier/base/chrome_async_socket_unittest.cc
===================================================================
--- jingle/notifier/base/chrome_async_socket_unittest.cc (revision 69414)
+++ jingle/notifier/base/chrome_async_socket_unittest.cc (working copy)
@@ -11,9 +11,10 @@
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/scoped_ptr.h"
-#include "net/base/ssl_config_service.h"
#include "net/base/capturing_net_log.h"
+#include "net/base/cert_verifier.h"
#include "net/base/net_errors.h"
+#include "net/base/ssl_config_service.h"
#include "net/socket/socket_test_util.h"
#include "talk/base/sigslot.h"
#include "talk/base/socketaddress.h"
@@ -115,7 +116,8 @@
chrome_async_socket_.reset(
new ChromeAsyncSocket(mock_client_socket_factory.release(),
- ssl_config_, 14, 20, &capturing_net_log_)),
+ ssl_config_, &cert_verifier_, 14, 20,
+ &capturing_net_log_)),
chrome_async_socket_->SignalConnected.connect(
this, &ChromeAsyncSocketTest::OnConnect);
@@ -371,6 +373,7 @@
net::CapturingNetLog capturing_net_log_;
net::SSLConfig ssl_config_;
+ net::CertVerifier cert_verifier_;
scoped_ptr<ChromeAsyncSocket> chrome_async_socket_;
std::deque<SignalSocketState> signal_socket_states_;
const talk_base::SocketAddress addr_;

Powered by Google App Engine
This is Rietveld 408576698