Index: net/quic/core/quic_flow_controller.h |
diff --git a/net/quic/core/quic_flow_controller.h b/net/quic/core/quic_flow_controller.h |
index 97c6fdaf03c5f83af4ccc5d40bfd3889b659bd59..f183741ada31f2c0f0aaedab89e344e30b4099d6 100644 |
--- a/net/quic/core/quic_flow_controller.h |
+++ b/net/quic/core/quic_flow_controller.h |
@@ -83,6 +83,9 @@ class QUIC_EXPORT_PRIVATE QuicFlowController |
// Returns true if flow control receive limits have been violated by the peer. |
bool FlowControlViolation(); |
+ // Inform the peer of new receive window. |
+ void SendWindowUpdate(); |
+ |
QuicByteCount bytes_consumed() const { return bytes_consumed_; } |
QuicStreamOffset highest_received_byte_offset() const { |
@@ -113,7 +116,8 @@ class QUIC_EXPORT_PRIVATE QuicFlowController |
void MaybeIncreaseMaxWindowSize(); |
// Updates the current offset and sends a window update frame. |
- void SendWindowUpdate(QuicStreamOffset available_window); |
+ void UpdateReceiveWindowOffsetAndSendWindowUpdate( |
+ QuicStreamOffset available_window); |
// Double the window size as long as we haven't hit the max window size. |
void IncreaseWindowSize(); |