blob: f471638f3d1c01140c24a42cf6ce0b101a1a0a3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_
#define NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_
#include "net/quic/quic_protocol.h"
namespace net {
class QuicConfig;
namespace test {
class QuicConfigPeer {
public:
static void SetReceivedInitialWindow(QuicConfig* config,
size_t initial_window);
static void SetReceivedLossDetection(QuicConfig* config,
QuicTag loss_detection);
static void SetReceivedInitialFlowControlWindow(QuicConfig* config,
uint32 window_bytes);
private:
DISALLOW_COPY_AND_ASSIGN(QuicConfigPeer);
};
} // namespace test
} // namespace net
#endif // NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_
|