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

Unified Diff: net/quic/core/quic_connection.h

Issue 2846033002: Part of QUIC v39 change: 1) do not ack acks. 2) Send a WINDOW_UPDATE frame every 20 packets which d… (Closed)
Patch Set: Created 3 years, 8 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/core/quic_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_connection.h
diff --git a/net/quic/core/quic_connection.h b/net/quic/core/quic_connection.h
index 0ff9094a738ba2de1ac4264c532436fe1ce51483..ef664ab1c523a9a4324bed85b4d7e474aec4b55d 100644
--- a/net/quic/core/quic_connection.h
+++ b/net/quic/core/quic_connection.h
@@ -141,6 +141,12 @@ class QUIC_EXPORT_PRIVATE QuicConnectionVisitorInterface {
// been done.
virtual void PostProcessAfterData() = 0;
+ // Called when the connection sends ack after
+ // kMaxConsecutiveNonRetransmittablePackets consecutive not retransmittable
+ // packets sent. To instigate an ack from peer, a retransmittable frame needs
+ // to be added.
+ virtual void OnAckNeedsRetransmittableFrame() = 0;
+
// Called to ask if the visitor wants to schedule write resumption as it both
// has pending data to write, and is able to write (e.g. based on flow control
// limits).
@@ -1082,6 +1088,9 @@ class QUIC_EXPORT_PRIVATE QuicConnection
// Indicates not to send or process stop waiting frames.
bool no_stop_waiting_frames_;
+ // Consecutive number of sent packets which have no retransmittable frames.
+ size_t consecutive_num_packets_with_no_retransmittable_frames_;
+
DISALLOW_COPY_AND_ASSIGN(QuicConnection);
};
« no previous file with comments | « no previous file | net/quic/core/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698