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

Unified Diff: net/quic/quic_unacked_packet_map_test.cc

Issue 1013583002: Make the SentPacketManager remove pending retransmissions for reset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Replace_CID_with_connection_id_88463135
Patch Set: Created 5 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_unacked_packet_map.cc ('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_test.cc
diff --git a/net/quic/quic_unacked_packet_map_test.cc b/net/quic/quic_unacked_packet_map_test.cc
index cf622e1e6c5c13bf8cc5dc5ed370cc6e0dcbcc57..2ffd03498e22c5755b70cf6ed880cec4c255aa64 100644
--- a/net/quic/quic_unacked_packet_map_test.cc
+++ b/net/quic/quic_unacked_packet_map_test.cc
@@ -189,7 +189,7 @@ TEST_F(QuicUnackedPacketMapTest, StopRetransmission) {
QuicPacketSequenceNumber retransmittable[] = {1};
VerifyRetransmittablePackets(retransmittable, arraysize(retransmittable));
- unacked_packets_.StopRetransmissionForStream(stream_id);
+ unacked_packets_.CancelRetransmissionsForStream(stream_id);
VerifyUnackedPackets(unacked, arraysize(unacked));
VerifyInFlightPackets(unacked, arraysize(unacked));
VerifyRetransmittablePackets(nullptr, 0);
@@ -208,7 +208,7 @@ TEST_F(QuicUnackedPacketMapTest, StopRetransmissionOnOtherStream) {
VerifyRetransmittablePackets(retransmittable, arraysize(retransmittable));
// Stop retransmissions on another stream and verify the packet is unchanged.
- unacked_packets_.StopRetransmissionForStream(stream_id + 2);
+ unacked_packets_.CancelRetransmissionsForStream(stream_id + 2);
VerifyUnackedPackets(unacked, arraysize(unacked));
VerifyInFlightPackets(unacked, arraysize(unacked));
VerifyRetransmittablePackets(retransmittable, arraysize(retransmittable));
@@ -229,7 +229,7 @@ TEST_F(QuicUnackedPacketMapTest, StopRetransmissionAfterRetransmission) {
QuicPacketSequenceNumber retransmittable[] = {2};
VerifyRetransmittablePackets(retransmittable, arraysize(retransmittable));
- unacked_packets_.StopRetransmissionForStream(stream_id);
+ unacked_packets_.CancelRetransmissionsForStream(stream_id);
VerifyUnackedPackets(unacked, arraysize(unacked));
VerifyInFlightPackets(unacked, arraysize(unacked));
VerifyRetransmittablePackets(nullptr, 0);
« no previous file with comments | « net/quic/quic_unacked_packet_map.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698