1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_FLOW_CONTROLLER_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_FLOW_CONTROLLER_PEER_H_
8 #include "net/quic/quic_protocol.h"
12 class QuicFlowController;
16 class QuicFlowControllerPeer {
18 static void SetSendWindowOffset(QuicFlowController* flow_controller,
21 static void SetReceiveWindowOffset(QuicFlowController* flow_controller,
24 static void SetMaxReceiveWindow(QuicFlowController* flow_controller,
27 static uint64 SendWindowOffset(QuicFlowController* flow_controller);
29 static uint64 SendWindowSize(QuicFlowController* flow_controller);
31 static uint64 ReceiveWindowOffset(QuicFlowController* flow_controller);
33 static uint64 ReceiveWindowSize(QuicFlowController* flow_controller);
36 DISALLOW_COPY_AND_ASSIGN(QuicFlowControllerPeer);
42 #endif // NET_QUIC_TEST_TOOLS_QUIC_FLOW_CONTROLLER_PEER_H_