OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ | |
6 #define NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ | |
7 | |
8 #include "net/quic/quic_config.h" | |
9 #include "net/quic/quic_protocol.h" | |
10 | |
11 namespace net { | |
12 | |
13 class QuicConfig; | |
14 | |
15 namespace test { | |
16 | |
17 class QuicConfigPeer { | |
18 public: | |
19 static void SetReceivedSocketReceiveBuffer(QuicConfig* config, | |
20 uint32 receive_buffer_bytes); | |
21 | |
22 static void SetReceivedInitialStreamFlowControlWindow(QuicConfig* config, | |
23 uint32 window_bytes); | |
24 | |
25 static void SetReceivedInitialSessionFlowControlWindow(QuicConfig* config, | |
26 uint32 window_bytes); | |
27 | |
28 static void SetReceivedConnectionOptions(QuicConfig* config, | |
29 const QuicTagVector& options); | |
30 | |
31 static void SetReceivedBytesForConnectionId(QuicConfig* config, uint32 bytes); | |
32 | |
33 private: | |
34 DISALLOW_COPY_AND_ASSIGN(QuicConfigPeer); | |
35 }; | |
36 | |
37 } // namespace test | |
38 | |
39 } // namespace net | |
40 | |
41 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ | |
OLD | NEW |