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

Unified Diff: net/quic/quic_received_packet_manager.h

Issue 115463002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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_packet_creator_test.cc ('k') | net/quic/quic_received_packet_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_received_packet_manager.h
diff --git a/net/quic/quic_received_packet_manager.h b/net/quic/quic_received_packet_manager.h
index 6cc752ef92899bf6fa2896a263a3963fd37f9e8c..9e2fb59c2412642638dc0da3bb0ea743a6ee63d3 100644
--- a/net/quic/quic_received_packet_manager.h
+++ b/net/quic/quic_received_packet_manager.h
@@ -39,6 +39,9 @@ class NET_EXPORT_PRIVATE QuicReceivedPacketManager :
QuicTime receipt_time,
bool revived);
+ // Checks whether |sequence_number| is missing and less than largest observed.
+ bool IsMissing(QuicPacketSequenceNumber sequence_number);
+
// Checks if we're still waiting for the packet with |sequence_number|.
bool IsAwaitingPacket(QuicPacketSequenceNumber sequence_number);
@@ -69,6 +72,10 @@ class NET_EXPORT_PRIVATE QuicReceivedPacketManager :
// Returns whether the peer is missing packets.
bool HasMissingPackets();
+ // Returns true when there are new missing packets to be reported within 3
+ // packets of the largest observed.
+ bool HasNewMissingPackets();
+
QuicPacketSequenceNumber peer_largest_observed_packet() {
return peer_largest_observed_packet_;
}
« no previous file with comments | « net/quic/quic_packet_creator_test.cc ('k') | net/quic/quic_received_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698