Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / net / quic / test_tools / quic_config_peer.h
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_protocol.h"
9
10 namespace net {
11
12 class QuicConfig;
13
14 namespace test {
15
16 class QuicConfigPeer {
17  public:
18   static void SetReceivedInitialWindow(QuicConfig* config,
19                                        size_t initial_window);
20
21   static void SetReceivedLossDetection(QuicConfig* config,
22                                        QuicTag loss_detection);
23
24   static void SetReceivedInitialFlowControlWindow(QuicConfig* config,
25                                                   uint32 window_bytes);
26
27  private:
28   DISALLOW_COPY_AND_ASSIGN(QuicConfigPeer);
29 };
30
31 }  // namespace test
32
33 }  // namespace net
34
35 #endif  // NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_