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

Unified Diff: net/quic/quic_unacked_packet_map.cc

Issue 2001183002: Deprecate FLAGS_quic_simplify_loss_detection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@122429210
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 | « net/quic/quic_unacked_packet_map.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_unacked_packet_map.cc
diff --git a/net/quic/quic_unacked_packet_map.cc b/net/quic/quic_unacked_packet_map.cc
index 59465dd2c089c77dd2d7140d1076f5291910d224..90cdc3eba63c9a36a4dc6b10416dc65424739e91 100644
--- a/net/quic/quic_unacked_packet_map.cc
+++ b/net/quic/quic_unacked_packet_map.cc
@@ -139,15 +139,6 @@ bool QuicUnackedPacketMap::HasRetransmittableFrames(
.retransmittable_frames.empty();
}
-void QuicUnackedPacketMap::NackPacket(QuicPacketNumber packet_number,
- uint16_t min_nacks) {
- DCHECK(!FLAGS_quic_simplify_loss_detection);
- DCHECK_GE(packet_number, least_unacked_);
- DCHECK_LT(packet_number, least_unacked_ + unacked_packets_.size());
- unacked_packets_[packet_number - least_unacked_].nack_count = max(
- min_nacks, unacked_packets_[packet_number - least_unacked_].nack_count);
-}
-
void QuicUnackedPacketMap::RemoveRetransmittability(TransmissionInfo* info) {
while (info->retransmission != 0) {
const QuicPacketNumber retransmission = info->retransmission;
« no previous file with comments | « net/quic/quic_unacked_packet_map.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698