OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ | 5 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ |
6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ | 6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "net/quic/core/quic_protocol.h" | 9 #include "net/quic/core/quic_protocol.h" |
10 #include "net/quic/core/quic_sustained_bandwidth_recorder.h" | 10 #include "net/quic/core/quic_sustained_bandwidth_recorder.h" |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 178 |
179 virtual void SetNetworkChangeVisitor(NetworkChangeVisitor* visitor) = 0; | 179 virtual void SetNetworkChangeVisitor(NetworkChangeVisitor* visitor) = 0; |
180 | 180 |
181 // Returns true if the default path is in slow start. | 181 // Returns true if the default path is in slow start. |
182 virtual bool InSlowStart() const = 0; | 182 virtual bool InSlowStart() const = 0; |
183 | 183 |
184 // These two methods return the consecutive RTO or TLP count of the default | 184 // These two methods return the consecutive RTO or TLP count of the default |
185 // path. | 185 // path. |
186 virtual size_t GetConsecutiveRtoCount() const = 0; | 186 virtual size_t GetConsecutiveRtoCount() const = 0; |
187 virtual size_t GetConsecutiveTlpCount() const = 0; | 187 virtual size_t GetConsecutiveTlpCount() const = 0; |
| 188 |
| 189 // Signals to the congestion controller that the connection has no outstanding |
| 190 // data to send. |
| 191 virtual void OnApplicationLimited() = 0; |
188 }; | 192 }; |
189 | 193 |
190 } // namespace net | 194 } // namespace net |
191 | 195 |
192 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ | 196 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ |
OLD | NEW |