| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CONNECTION_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ |
| 6 #define NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "net/base/ip_endpoint.h" | 9 #include "net/base/ip_endpoint.h" |
| 10 #include "net/quic/quic_connection.h" | 10 #include "net/quic/quic_connection.h" |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 static QuicConnectionStats* GetStats(QuicConnection* connection); | 114 static QuicConnectionStats* GetStats(QuicConnection* connection); |
| 115 | 115 |
| 116 static QuicPacketCount GetPacketsBetweenMtuProbes(QuicConnection* connection); | 116 static QuicPacketCount GetPacketsBetweenMtuProbes(QuicConnection* connection); |
| 117 | 117 |
| 118 static void SetPacketsBetweenMtuProbes(QuicConnection* connection, | 118 static void SetPacketsBetweenMtuProbes(QuicConnection* connection, |
| 119 QuicPacketCount packets); | 119 QuicPacketCount packets); |
| 120 static void SetNextMtuProbeAt(QuicConnection* connection, | 120 static void SetNextMtuProbeAt(QuicConnection* connection, |
| 121 QuicPacketNumber number); | 121 QuicPacketNumber number); |
| 122 static void SetAckMode(QuicConnection* connection, | 122 static void SetAckMode(QuicConnection* connection, |
| 123 QuicConnection::AckMode ack_mode); | 123 QuicConnection::AckMode ack_mode); |
| 124 static void SetAckDecimationDelay(QuicConnection* connection, |
| 125 float ack_decimation_delay); |
| 124 | 126 |
| 125 private: | 127 private: |
| 126 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); | 128 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); |
| 127 }; | 129 }; |
| 128 | 130 |
| 129 } // namespace test | 131 } // namespace test |
| 130 | 132 |
| 131 } // namespace net | 133 } // namespace net |
| 132 | 134 |
| 133 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ | 135 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ |
| OLD | NEW |