Delete unused downloads page asset.
[chromium-blink-merge.git] / net / quic / test_tools / quic_config_peer.h
blobca2a3391bcc3a1029a93fdacc22a66b183a01ee9
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_config.h"
9 #include "net/quic/quic_protocol.h"
11 namespace net {
13 class QuicConfig;
15 namespace test {
17 class QuicConfigPeer {
18 public:
19 static void SetReceivedSocketReceiveBuffer(QuicConfig* config,
20 uint32 receive_buffer_bytes);
22 static void SetReceivedInitialStreamFlowControlWindow(QuicConfig* config,
23 uint32 window_bytes);
25 static void SetReceivedInitialSessionFlowControlWindow(QuicConfig* config,
26 uint32 window_bytes);
28 static void SetReceivedConnectionOptions(QuicConfig* config,
29 const QuicTagVector& options);
31 static void SetReceivedBytesForConnectionId(QuicConfig* config, uint32 bytes);
33 private:
34 DISALLOW_COPY_AND_ASSIGN(QuicConfigPeer);
37 } // namespace test
39 } // namespace net
41 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_