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 25 matching lines...) Expand all Loading... |
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 SetConnectionOptionsToSend(QuicConfig* config, | 41 static void SetConnectionOptionsToSend(QuicConfig* config, |
42 const QuicTagVector& options); | 42 const QuicTagVector& options); |
43 | 43 |
44 static void SetReceivedForceHolBlocking(QuicConfig* config); | 44 static void SetReceivedForceHolBlocking(QuicConfig* config); |
45 | 45 |
| 46 static void SetReceivedAlternateServerAddress(QuicConfig* config, |
| 47 IPEndPoint addr); |
| 48 |
46 private: | 49 private: |
47 DISALLOW_COPY_AND_ASSIGN(QuicConfigPeer); | 50 DISALLOW_COPY_AND_ASSIGN(QuicConfigPeer); |
48 }; | 51 }; |
49 | 52 |
50 } // namespace test | 53 } // namespace test |
51 | 54 |
52 } // namespace net | 55 } // namespace net |
53 | 56 |
54 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ | 57 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ |
OLD | NEW |