Index: net/quic/quic_sent_packet_manager.h |
diff --git a/net/quic/quic_sent_packet_manager.h b/net/quic/quic_sent_packet_manager.h |
index 2a3ea64fb7d8184bde67a00c093dcc4fdd7c30d0..42b3706a360b04a62629b45023587092ce7dee4d 100644 |
--- a/net/quic/quic_sent_packet_manager.h |
+++ b/net/quic/quic_sent_packet_manager.h |
@@ -111,6 +111,13 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager { |
bool IsUnacked(QuicPacketSequenceNumber sequence_number) const; |
// Requests retransmission of all unacked packets of |retransmission_type|. |
+ // The behavior of this method depends on the value of |retransmission_type|: |
+ // ALL_UNACKED_RETRANSMISSION - All unacked packets will be retransmitted. |
+ // This can happen, for example, after a version negotiation packet has been |
+ // received and all packets needs to be retransmitted with the new version. |
+ // ALL_INITIAL_RETRANSMISSION - Only initially encrypted packets will be |
+ // retransmitted. This can happen, for example, when a CHLO has been rejected |
+ // and the previously encrypted data needs to be encrypted with a new key. |
void RetransmitUnackedPackets(TransmissionType retransmission_type); |
// Retransmits the oldest pending packet there is still a tail loss probe |