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_CONFIG_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_
8 #include "net/quic/quic_protocol.h"
16 class QuicConfigPeer
{
18 static void SetReceivedInitialWindow(QuicConfig
* config
,
19 size_t initial_window
);
21 static void SetReceivedLossDetection(QuicConfig
* config
,
22 QuicTag loss_detection
);
24 // TODO(rjshade): Remove when removing QUIC_VERSION_19.
25 static void SetReceivedInitialFlowControlWindow(QuicConfig
* config
,
28 static void SetReceivedInitialStreamFlowControlWindow(QuicConfig
* config
,
31 static void SetReceivedInitialSessionFlowControlWindow(QuicConfig
* config
,
34 static void SetReceivedConnectionOptions(QuicConfig
* config
,
35 const QuicTagVector
& options
);
38 DISALLOW_COPY_AND_ASSIGN(QuicConfigPeer
);
45 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_