| 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 bbea39615d04e6f0a5b4ad7cce4e926a3e23ff1f..5567db90ebe58ba8980dcbb7eb6a170b2e4b4f8b 100644
|
| --- a/net/quic/quic_unacked_packet_map.h
|
| +++ b/net/quic/quic_unacked_packet_map.h
|
| @@ -113,10 +113,14 @@ class NET_EXPORT_PRIVATE QuicUnackedPacketMap {
|
| // Returns true if there are any pending crypto packets.
|
| bool HasPendingCryptoPackets() const;
|
|
|
| - // Deletes the retransmittable frames associated with the packet and removes
|
| - // it from unacked packets if it's not pending.
|
| + // Removes entries from the unacked packet map, and deletes
|
| + // the retransmittable frames associated with the packet.
|
| // Does not remove any previous or subsequent transmissions of this packet.
|
| - void NeuterIfPendingOrRemovePacket(QuicPacketSequenceNumber sequence_number);
|
| + void RemovePacket(QuicPacketSequenceNumber sequence_number);
|
| +
|
| + // Neuters the specified packet. Deletes any retransmittable
|
| + // frames, and sets all_transmissions to only include itself.
|
| + void NeuterPacket(QuicPacketSequenceNumber sequence_number);
|
|
|
| // Returns true if the packet has been marked as sent by SetSent.
|
| static bool IsSentAndNotPending(const TransmissionInfo& transmission_info);
|
|
|