Enable Enhanced Bookmark on Android Tablet
[chromium-blink-merge.git] / net / quic / test_tools / quic_config_peer.h
blob32e6bff5f45f31ffc45b951af782505d9ba02f73
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"
10 namespace net {
12 class QuicConfig;
14 namespace test {
16 class QuicConfigPeer {
17 public:
18 static void SetReceivedSocketReceiveBuffer(QuicConfig* config,
19 uint32 receive_buffer_bytes);
21 // TODO(rjshade): Remove when removing QUIC_VERSION_19.
22 static void SetReceivedInitialFlowControlWindow(QuicConfig* config,
23 uint32 window_bytes);
25 static void SetReceivedInitialStreamFlowControlWindow(QuicConfig* config,
26 uint32 window_bytes);
28 static void SetReceivedInitialSessionFlowControlWindow(QuicConfig* config,
29 uint32 window_bytes);
31 static void SetReceivedConnectionOptions(QuicConfig* config,
32 const QuicTagVector& options);
34 static void SetReceivedBytesForConnectionId(QuicConfig* config, uint32 bytes);
36 private:
37 DISALLOW_COPY_AND_ASSIGN(QuicConfigPeer);
40 } // namespace test
42 } // namespace net
44 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_