Index: net/quic/quic_config.h |
diff --git a/net/quic/quic_config.h b/net/quic/quic_config.h |
index 376b2b05896f60893eb007dbdbd0b25a35cd52c8..3c5f5cdc16e7216da6dcff23930f0e475366212a 100644 |
--- a/net/quic/quic_config.h |
+++ b/net/quic/quic_config.h |
@@ -340,6 +340,15 @@ class NET_EXPORT_PRIVATE QuicConfig { |
uint32 ReceivedInitialSessionFlowControlWindowBytes() const; |
+ // Sets socket receive buffer to transmit to the peer. |
+ void SetSocketReceiveBufferToSend(uint32 window_bytes); |
+ |
+ uint32 GetSocketReceiveBufferToSend() const; |
+ |
+ bool HasReceivedSocketReceiveBuffer() const; |
+ |
+ uint32 ReceivedSocketReceiveBuffer() const; |
+ |
bool negotiated(); |
// SetDefaults sets the members to sensible, default values. |
@@ -389,6 +398,9 @@ class NET_EXPORT_PRIVATE QuicConfig { |
QuicFixedUint32 initial_stream_flow_control_window_bytes_; |
// Initial session flow control receive window in bytes. |
QuicFixedUint32 initial_session_flow_control_window_bytes_; |
+ |
+ // Socket receive buffer in bytes. |
+ QuicFixedUint32 socket_receive_buffer_; |
}; |
} // namespace net |