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

Unified Diff: blimp/net/tcp_client_transport.cc

Issue 2008283004: Revert of Added a debug info UI for Blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « blimp/net/tcp_client_transport.h ('k') | blimp/net/tcp_engine_transport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/tcp_client_transport.cc
diff --git a/blimp/net/tcp_client_transport.cc b/blimp/net/tcp_client_transport.cc
index dd7850d0fd4b9828b349f48b230432418f911bcb..f78884318c3326614537c2cfa5b3535097ce3b52 100644
--- a/blimp/net/tcp_client_transport.cc
+++ b/blimp/net/tcp_client_transport.cc
@@ -10,7 +10,6 @@
#include "base/callback_helpers.h"
#include "base/memory/ptr_util.h"
#include "base/message_loop/message_loop.h"
-#include "blimp/net/blimp_connection_statistics.h"
#include "blimp/net/stream_socket_connection.h"
#include "net/socket/client_socket_factory.h"
#include "net/socket/stream_socket.h"
@@ -19,14 +18,10 @@
namespace blimp {
TCPClientTransport::TCPClientTransport(const net::IPEndPoint& ip_endpoint,
- BlimpConnectionStatistics* statistics,
net::NetLog* net_log)
: ip_endpoint_(ip_endpoint),
- blimp_connection_statistics_(statistics),
net_log_(net_log),
- socket_factory_(net::ClientSocketFactory::GetDefaultFactory()) {
- DCHECK(blimp_connection_statistics_);
-}
+ socket_factory_(net::ClientSocketFactory::GetDefaultFactory()) {}
TCPClientTransport::~TCPClientTransport() {}
@@ -57,8 +52,7 @@
std::unique_ptr<BlimpConnection> TCPClientTransport::TakeConnection() {
DCHECK(connect_callback_.is_null());
DCHECK(socket_);
- return base::WrapUnique(new StreamSocketConnection(
- std::move(socket_), blimp_connection_statistics_));
+ return base::WrapUnique(new StreamSocketConnection(std::move(socket_)));
}
const char* TCPClientTransport::GetName() const {
« no previous file with comments | « blimp/net/tcp_client_transport.h ('k') | blimp/net/tcp_engine_transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698