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