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

Unified Diff: net/quic/quic_received_packet_manager.cc

Issue 1777293002: Add a new QUIC Ack Decimation mode that is reordering tolerant. Protected by FLAG_quic_ack_decimati… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@115844136
Patch Set: Created 4 years, 9 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_received_packet_manager.h ('k') | net/quic/quic_sent_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.cc
diff --git a/net/quic/quic_received_packet_manager.cc b/net/quic/quic_received_packet_manager.cc
index 984aa6fec9fe829e034c3da1605e0dd07c598ea7..f4d121bbbf2bc00a51b2a6dd8bc30e98850ec87e 100644
--- a/net/quic/quic_received_packet_manager.cc
+++ b/net/quic/quic_received_packet_manager.cc
@@ -287,6 +287,10 @@ void QuicReceivedPacketManager::UpdatePacketInformationSentByPeer(
ack_frame_.missing_packets.Min() >= peer_least_packet_awaiting_ack_);
}
+bool QuicReceivedPacketManager::HasMissingPackets() const {
+ return !ack_frame_.missing_packets.Empty();
+}
+
bool QuicReceivedPacketManager::HasNewMissingPackets() const {
return !ack_frame_.missing_packets.Empty() &&
(ack_frame_.largest_observed - ack_frame_.missing_packets.Max()) <=
« no previous file with comments | « net/quic/quic_received_packet_manager.h ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698