| 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_CORE_QUIC_SENT_PACKET_MANAGER_H_ | 5 #ifndef NET_QUIC_CORE_QUIC_SENT_PACKET_MANAGER_H_ |
| 6 #define NET_QUIC_CORE_QUIC_SENT_PACKET_MANAGER_H_ | 6 #define NET_QUIC_CORE_QUIC_SENT_PACKET_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 bool InSlowStart() const; | 217 bool InSlowStart() const; |
| 218 | 218 |
| 219 size_t GetConsecutiveRtoCount() const; | 219 size_t GetConsecutiveRtoCount() const; |
| 220 | 220 |
| 221 size_t GetConsecutiveTlpCount() const; | 221 size_t GetConsecutiveTlpCount() const; |
| 222 | 222 |
| 223 void OnApplicationLimited(); | 223 void OnApplicationLimited(); |
| 224 | 224 |
| 225 const SendAlgorithmInterface* GetSendAlgorithm() const; | 225 const SendAlgorithmInterface* GetSendAlgorithm() const; |
| 226 | 226 |
| 227 void SetStreamNotifier(StreamNotifierInterface* stream_notifier); |
| 228 |
| 227 QuicPacketNumber largest_packet_peer_knows_is_acked() const { | 229 QuicPacketNumber largest_packet_peer_knows_is_acked() const { |
| 228 return largest_packet_peer_knows_is_acked_; | 230 return largest_packet_peer_knows_is_acked_; |
| 229 } | 231 } |
| 230 | 232 |
| 231 private: | 233 private: |
| 232 friend class test::QuicConnectionPeer; | 234 friend class test::QuicConnectionPeer; |
| 233 friend class test::QuicSentPacketManagerPeer; | 235 friend class test::QuicSentPacketManagerPeer; |
| 234 | 236 |
| 235 // The retransmission timer is a single timer which switches modes depending | 237 // The retransmission timer is a single timer which switches modes depending |
| 236 // upon connection state. | 238 // upon connection state. |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 | 412 |
| 411 // The largest acked value that was sent in an ack, which has then been acked. | 413 // The largest acked value that was sent in an ack, which has then been acked. |
| 412 QuicPacketNumber largest_packet_peer_knows_is_acked_; | 414 QuicPacketNumber largest_packet_peer_knows_is_acked_; |
| 413 | 415 |
| 414 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); | 416 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); |
| 415 }; | 417 }; |
| 416 | 418 |
| 417 } // namespace net | 419 } // namespace net |
| 418 | 420 |
| 419 #endif // NET_QUIC_CORE_QUIC_SENT_PACKET_MANAGER_H_ | 421 #endif // NET_QUIC_CORE_QUIC_SENT_PACKET_MANAGER_H_ |
| OLD | NEW |