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

Unified Diff: net/quic/quic_sent_packet_manager.h

Issue 1566633002: relnote: A small refactoring to make RecordSpuriousRetransmission() of QuicSentPacketManager simpl… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 24027a61f76da61f231f8242651079d6183160b2..87dedbcad149a14c7b8a1f78ee5f2b23419c09ec 100644
--- a/net/quic/quic_sent_packet_manager.h
+++ b/net/quic/quic_sent_packet_manager.h
@@ -340,7 +340,14 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
void MarkForRetransmission(QuicPacketNumber packet_number,
TransmissionType transmission_type);
- // Notify observers about spurious retransmits.
+ // Notify observers that packet with TransmissionInfo |info| is a spurious
+ // retransmission. It is caller's responsibility to guarantee the packet with
+ // TransmissionInfo |info| is a spurious retransmission before calling this
+ // function.
+ void RecordOneSpuriousRetransmission(const TransmissionInfo& info);
+
+ // Notify observers about spurious retransmits of packet with TransmissionInfo
+ // |info|.
void RecordSpuriousRetransmissions(const TransmissionInfo& info,
QuicPacketNumber acked_packet_number);
« no previous file with comments | « no previous file | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698