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

Unified Diff: blimp/net/stream_packet_reader.h

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/ssl_client_transport_unittest.cc ('k') | blimp/net/stream_packet_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/stream_packet_reader.h
diff --git a/blimp/net/stream_packet_reader.h b/blimp/net/stream_packet_reader.h
index 2516ca078ed06cf06e1c9a9639b081b7546eb303..dd67351337e15a02b68955148d86bb31091c2bd6 100644
--- a/blimp/net/stream_packet_reader.h
+++ b/blimp/net/stream_packet_reader.h
@@ -21,7 +21,6 @@
} // namespace net
namespace blimp {
-class BlimpConnectionStatistics;
// Reads opaque length-prefixed packets of bytes from a StreamSocket.
// The header segment is 32-bit, encoded in network byte order.
@@ -31,10 +30,7 @@
public:
// |socket|: The socket to read packets from. The caller must ensure |socket|
// is valid while the reader is in-use (see ReadPacket below).
- // |statistics|: Statistics collector to keep track of number of bytes read.
- // |statistics| is expected to outlive |this|.
- StreamPacketReader(net::StreamSocket* socket,
- BlimpConnectionStatistics* statistics);
+ explicit StreamPacketReader(net::StreamSocket* socket);
~StreamPacketReader() override;
@@ -76,7 +72,6 @@
scoped_refptr<net::GrowableIOBuffer> header_buffer_;
scoped_refptr<net::GrowableIOBuffer> payload_buffer_;
net::CompletionCallback callback_;
- BlimpConnectionStatistics* statistics_;
base::WeakPtrFactory<StreamPacketReader> weak_factory_;
« no previous file with comments | « blimp/net/ssl_client_transport_unittest.cc ('k') | blimp/net/stream_packet_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698