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

Unified Diff: net/quic/quic_sent_packet_manager.h

Issue 1983183002: Landing Recent QUIC changes until 5/14/2016 02:25:25 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "first try to fix link error for win_clang build" Created 4 years, 7 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_protocol.h ('k') | 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 e7be658e7a565a88bba5cceca68cb9b3140f6648..ab83f1b9dd5eaca0a156f823e1dd56e04060056d 100644
--- a/net/quic/quic_sent_packet_manager.h
+++ b/net/quic/quic_sent_packet_manager.h
@@ -158,6 +158,7 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
bool HasRetransmittableFrames(QuicPacketNumber packet_number) const;
// Returns true if there are pending retransmissions.
+ // Not const because retransmissions may be cancelled before returning.
bool HasPendingRetransmissions() const;
// Retrieves the next pending retransmission. You must ensure that
@@ -434,6 +435,9 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
// If true, use the new RTO with loss based CWND reduction instead of the send
// algorithms's OnRetransmissionTimeout to reduce the congestion window.
bool use_new_rto_;
+ // If true, cancel pending retransmissions if they're larger than
+ // largest_newly_acked.
+ bool undo_pending_retransmits_;
// Vectors packets acked and lost as a result of the last congestion event.
SendAlgorithmInterface::CongestionVector packets_acked_;
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698