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

Unified Diff: blimp/net/tcp_engine_transport.h

Issue 1962393004: Added a debug info UI for Blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added empty implementation for linux client 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.cc ('k') | blimp/net/tcp_engine_transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/tcp_engine_transport.h
diff --git a/blimp/net/tcp_engine_transport.h b/blimp/net/tcp_engine_transport.h
index 5a040d03c7dc305047541d7ed66b9645e3e9c7e8..42da0189ba4fa07efbde80b06c26e352c49277b2 100644
--- a/blimp/net/tcp_engine_transport.h
+++ b/blimp/net/tcp_engine_transport.h
@@ -23,12 +23,15 @@ class StreamSocket;
namespace blimp {
class BlimpConnection;
+class BlimpConnectionStatistics;
// BlimpTransport which listens for a TCP connection at |address|.
class BLIMP_NET_EXPORT TCPEngineTransport : public BlimpTransport {
public:
- // Caller retains the ownership of |net_log|.
- TCPEngineTransport(const net::IPEndPoint& address, net::NetLog* net_log);
+ // Caller retains the ownership of |statistics| and |net_log|.
+ TCPEngineTransport(const net::IPEndPoint& address,
+ BlimpConnectionStatistics* statistics,
+ net::NetLog* net_log);
~TCPEngineTransport() override;
// BlimpTransport implementation.
@@ -42,6 +45,7 @@ class BLIMP_NET_EXPORT TCPEngineTransport : public BlimpTransport {
void OnTCPConnectAccepted(int result);
const net::IPEndPoint address_;
+ BlimpConnectionStatistics* blimp_connection_statistics_;
net::NetLog* net_log_;
std::unique_ptr<net::ServerSocket> server_socket_;
std::unique_ptr<net::StreamSocket> accepted_socket_;
« no previous file with comments | « blimp/net/tcp_client_transport.cc ('k') | blimp/net/tcp_engine_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698