OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SENT_PACKET_MANAGER_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ |
6 #define NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 size_t count); | 86 size_t count); |
87 | 87 |
88 static void SetConsecutiveTlpCount(QuicSentPacketManager* sent_packet_manager, | 88 static void SetConsecutiveTlpCount(QuicSentPacketManager* sent_packet_manager, |
89 size_t count); | 89 size_t count); |
90 | 90 |
91 static QuicSustainedBandwidthRecorder& GetBandwidthRecorder( | 91 static QuicSustainedBandwidthRecorder& GetBandwidthRecorder( |
92 QuicSentPacketManager* sent_packet_manager); | 92 QuicSentPacketManager* sent_packet_manager); |
93 | 93 |
94 static bool UsingPacing(const QuicSentPacketManager* sent_packet_manager); | 94 static bool UsingPacing(const QuicSentPacketManager* sent_packet_manager); |
95 | 95 |
| 96 static bool IsUnacked(QuicSentPacketManager* sent_packet_manager, |
| 97 QuicPacketNumber packet_number); |
| 98 |
| 99 static bool HasRetransmittableFrames( |
| 100 QuicSentPacketManager* sent_packet_manager, |
| 101 QuicPacketNumber packet_number); |
| 102 |
96 private: | 103 private: |
97 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManagerPeer); | 104 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManagerPeer); |
98 }; | 105 }; |
99 | 106 |
100 } // namespace test | 107 } // namespace test |
101 | 108 |
102 } // namespace net | 109 } // namespace net |
103 | 110 |
104 #endif // NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ | 111 #endif // NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ |
OLD | NEW |