| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 static QuicPacketCount GetPacketsBetweenMtuProbes(QuicConnection* connection); | 124 static QuicPacketCount GetPacketsBetweenMtuProbes(QuicConnection* connection); |
| 125 | 125 |
| 126 static void SetPacketsBetweenMtuProbes(QuicConnection* connection, | 126 static void SetPacketsBetweenMtuProbes(QuicConnection* connection, |
| 127 QuicPacketCount packets); | 127 QuicPacketCount packets); |
| 128 static void SetNextMtuProbeAt(QuicConnection* connection, | 128 static void SetNextMtuProbeAt(QuicConnection* connection, |
| 129 QuicPacketNumber number); | 129 QuicPacketNumber number); |
| 130 static void SetAckMode(QuicConnection* connection, | 130 static void SetAckMode(QuicConnection* connection, |
| 131 QuicConnection::AckMode ack_mode); | 131 QuicConnection::AckMode ack_mode); |
| 132 static void SetAckDecimationDelay(QuicConnection* connection, | 132 static void SetAckDecimationDelay(QuicConnection* connection, |
| 133 float ack_decimation_delay); | 133 float ack_decimation_delay); |
| 134 static bool HasRetransmittableFrames(QuicConnection* connection, |
| 135 QuicPathId path_id, |
| 136 QuicPacketNumber packet_number); |
| 134 | 137 |
| 135 private: | 138 private: |
| 136 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); | 139 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); |
| 137 }; | 140 }; |
| 138 | 141 |
| 139 } // namespace test | 142 } // namespace test |
| 140 | 143 |
| 141 } // namespace net | 144 } // namespace net |
| 142 | 145 |
| 143 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ | 146 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ |
| OLD | NEW |