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

Unified Diff: net/quic/quic_unacked_packet_map.h

Issue 1982103002: Cancel pending retransmissions which are greater than the largest newly acked packet when using the… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@121845603
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_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 31fc7f430088d14e26369614460e754a5a5831e2..7418f666ced7cf66afe2c7d78f3144fd82a3acc8 100644
--- a/net/quic/quic_unacked_packet_map.h
+++ b/net/quic/quic_unacked_packet_map.h
@@ -58,9 +58,11 @@ class NET_EXPORT_PRIVATE QuicUnackedPacketMap {
void RemoveFromInFlight(TransmissionInfo* info);
// Marks |packet_number| as no longer in flight.
- // TODO(ianswett): Remove this test-only method.
void RemoveFromInFlight(QuicPacketNumber packet_number);
+ // Marks |packet_number| as in flight. Must not be unackable.
+ void RestoreToInFlight(QuicPacketNumber packet_number);
+
// No longer retransmit data for |stream_id|.
void CancelRetransmissionsForStream(QuicStreamId stream_id);
@@ -134,9 +136,6 @@ class NET_EXPORT_PRIVATE QuicUnackedPacketMap {
// RemoveRetransmittability.
void RemoveRetransmittability(QuicPacketNumber packet_number);
- // Removes any other retransmissions and marks all transmissions unackable.
- void RemoveAckability(TransmissionInfo* info);
-
// Increases the largest observed. Any packets less or equal to
// |largest_acked_packet| are discarded if they are only for the RTT purposes.
void IncreaseLargestObserved(QuicPacketNumber largest_observed);
« 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