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

Unified Diff: net/quic/quic_connection.h

Issue 1918953003: Landing Recent QUIC changes until 4/22/2016 14:55 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deleted SpdyFramerTests missed while mergeing 120451808 Created 4 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 | « net/quic/crypto/quic_encrypter.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index 980f87fc0c4f0171b04bbf48cf6c46f1d52f61ca..c8ece043fe40f020ab449e838bec24c3de6fbee8 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -207,6 +207,9 @@ class NET_EXPORT_PRIVATE QuicConnectionDebugVisitor
// Called when a StopWaitingFrame has been parsed.
virtual void OnStopWaitingFrame(const QuicStopWaitingFrame& frame) {}
+ // Called when a QuicPaddingFrame has been parsed.
+ virtual void OnPaddingFrame(const QuicPaddingFrame& frame) {}
+
// Called when a Ping has been parsed.
virtual void OnPingFrame(const QuicPingFrame& frame) {}
@@ -431,6 +434,7 @@ class NET_EXPORT_PRIVATE QuicConnection
bool OnStreamFrame(const QuicStreamFrame& frame) override;
bool OnAckFrame(const QuicAckFrame& frame) override;
bool OnStopWaitingFrame(const QuicStopWaitingFrame& frame) override;
+ bool OnPaddingFrame(const QuicPaddingFrame& frame) override;
bool OnPingFrame(const QuicPingFrame& frame) override;
bool OnRstStreamFrame(const QuicRstStreamFrame& frame) override;
bool OnConnectionCloseFrame(const QuicConnectionCloseFrame& frame) override;
@@ -932,6 +936,8 @@ class NET_EXPORT_PRIVATE QuicConnection
int stop_waiting_count_;
// Indicates the current ack mode, defaults to acking every 2 packets.
AckMode ack_mode_;
+ // The max delay in fraction of min_rtt to use when sending decimated acks.
+ float ack_decimation_delay_;
// Indicates the retransmit alarm is going to be set by the
// ScopedRetransmitAlarmDelayer
« no previous file with comments | « net/quic/crypto/quic_encrypter.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698