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/base/net_export.h" | 9 #include "net/base/net_export.h" |
10 #include "net/quic/core/quic_protocol.h" | 10 #include "net/quic/core/quic_packets.h" |
11 #include "net/quic/core/quic_sustained_bandwidth_recorder.h" | 11 #include "net/quic/core/quic_sustained_bandwidth_recorder.h" |
12 | 12 |
13 namespace net { | 13 namespace net { |
14 | 14 |
15 class QuicConfig; | 15 class QuicConfig; |
16 class RttStats; | 16 class RttStats; |
17 | 17 |
18 class NET_EXPORT_PRIVATE QuicSentPacketManagerInterface { | 18 class NET_EXPORT_PRIVATE QuicSentPacketManagerInterface { |
19 public: | 19 public: |
20 // Interface which gets callbacks from the QuicSentPacketManager at | 20 // Interface which gets callbacks from the QuicSentPacketManager at |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 virtual size_t GetConsecutiveTlpCount() const = 0; | 186 virtual size_t GetConsecutiveTlpCount() const = 0; |
187 | 187 |
188 // Signals to the congestion controller that the connection has no outstanding | 188 // Signals to the congestion controller that the connection has no outstanding |
189 // data to send. | 189 // data to send. |
190 virtual void OnApplicationLimited() = 0; | 190 virtual void OnApplicationLimited() = 0; |
191 }; | 191 }; |
192 | 192 |
193 } // namespace net | 193 } // namespace net |
194 | 194 |
195 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ | 195 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ |
OLD | NEW |