OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ |
6 #define NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 static void SetReceivedConnectionOptions(QuicConfig* config, | 31 static void SetReceivedConnectionOptions(QuicConfig* config, |
32 const QuicTagVector& options); | 32 const QuicTagVector& options); |
33 | 33 |
34 static void SetReceivedBytesForConnectionId(QuicConfig* config, | 34 static void SetReceivedBytesForConnectionId(QuicConfig* config, |
35 uint32_t bytes); | 35 uint32_t bytes); |
36 static void SetReceivedDisableConnectionMigration(QuicConfig* config); | 36 static void SetReceivedDisableConnectionMigration(QuicConfig* config); |
37 | 37 |
38 static void SetReceivedMaxIncomingDynamicStreams(QuicConfig* config, | 38 static void SetReceivedMaxIncomingDynamicStreams(QuicConfig* config, |
39 uint32_t max_streams); | 39 uint32_t max_streams); |
40 | 40 |
| 41 static void SetReceivedAlternateServerAddress(QuicConfig* config, |
| 42 IPEndPoint addr); |
| 43 |
41 private: | 44 private: |
42 DISALLOW_COPY_AND_ASSIGN(QuicConfigPeer); | 45 DISALLOW_COPY_AND_ASSIGN(QuicConfigPeer); |
43 }; | 46 }; |
44 | 47 |
45 } // namespace test | 48 } // namespace test |
46 | 49 |
47 } // namespace net | 50 } // namespace net |
48 | 51 |
49 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ | 52 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ |
OLD | NEW |