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

Unified Diff: net/quic/quic_unacked_packet_map.h

Issue 183683025: CL generated with data from dead-code analysis using Scythe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « net/quic/quic_sent_packet_manager_test.cc ('k') | net/quic/quic_unacked_packet_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_unacked_packet_map.h
diff --git a/net/quic/quic_unacked_packet_map.h b/net/quic/quic_unacked_packet_map.h
index 1331049d30e160312bb3aad67bfcd6b6abbe5fdf..6034837c05566a9dfa7f0b488cfa4670949fdcf5 100644
--- a/net/quic/quic_unacked_packet_map.h
+++ b/net/quic/quic_unacked_packet_map.h
@@ -46,7 +46,7 @@ class NET_EXPORT_PRIVATE QuicUnackedPacketMap {
bool pending;
};
- explicit QuicUnackedPacketMap(bool is_server);
+ QuicUnackedPacketMap();
~QuicUnackedPacketMap();
// Adds |serialized_packet| to the map. Does not mark it pending.
@@ -89,11 +89,6 @@ class NET_EXPORT_PRIVATE QuicUnackedPacketMap {
// Returns the number of unacked packets which have retransmittable frames.
size_t GetNumRetransmittablePackets() const;
- // Returns the total number of bytes associated with pending packets.
- size_t bytes_in_flight() const {
- return bytes_in_flight_;
- }
-
// Returns the largest sequence number that has been sent.
QuicPacketSequenceNumber largest_sent_packet() const {
return largest_sent_packet_;
@@ -168,8 +163,6 @@ class NET_EXPORT_PRIVATE QuicUnackedPacketMap {
size_t bytes_in_flight_;
- bool is_server_;
-
DISALLOW_COPY_AND_ASSIGN(QuicUnackedPacketMap);
};
« no previous file with comments | « net/quic/quic_sent_packet_manager_test.cc ('k') | net/quic/quic_unacked_packet_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698