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

Unified Diff: blimp/net/ssl_client_transport_unittest.cc

Issue 1962393004: Added a debug info UI for Blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Kevin's comments Created 4 years, 7 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: blimp/net/ssl_client_transport_unittest.cc
diff --git a/blimp/net/ssl_client_transport_unittest.cc b/blimp/net/ssl_client_transport_unittest.cc
index c4d3113295fff8e098da01117fc5ea14332fa4af..da1ccd0b475579c9701c527a5ee700a5a4b242dd 100644
--- a/blimp/net/ssl_client_transport_unittest.cc
+++ b/blimp/net/ssl_client_transport_unittest.cc
@@ -6,6 +6,7 @@
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "blimp/net/blimp_connection.h"
+#include "blimp/net/blimp_connection_statistics.h"
#include "blimp/net/ssl_client_transport.h"
#include "net/base/address_list.h"
#include "net/base/ip_address.h"
@@ -60,7 +61,8 @@ class SSLClientTransportTest : public testing::Test {
void ConfigureTransport(const net::IPEndPoint& ip_endpoint) {
// The mock does not interact with the cert directly, so just leave it null.
scoped_refptr<net::X509Certificate> cert;
- transport_.reset(new SSLClientTransport(ip_endpoint, cert, &net_log_));
+ transport_.reset(new SSLClientTransport(
+ ip_endpoint, cert, new BlimpConnectionStatistics(), &net_log_));
Kevin M 2016/05/24 21:49:00 This leaks the statistics object, need to pass in
shaktisahu 2016/05/24 22:42:14 Done.
transport_->SetClientSocketFactoryForTest(&socket_factory_);
}

Powered by Google App Engine
This is Rietveld 408576698