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_QUIC_SENT_PACKET_MANAGER_H_ | 5 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ |
6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ | 6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 AckNotifierManager ack_notifier_manager_; | 339 AckNotifierManager ack_notifier_manager_; |
340 | 340 |
341 const QuicClock* clock_; | 341 const QuicClock* clock_; |
342 QuicConnectionStats* stats_; | 342 QuicConnectionStats* stats_; |
343 DebugDelegate* debug_delegate_; | 343 DebugDelegate* debug_delegate_; |
344 NetworkChangeVisitor* network_change_visitor_; | 344 NetworkChangeVisitor* network_change_visitor_; |
345 RttStats rtt_stats_; | 345 RttStats rtt_stats_; |
346 scoped_ptr<SendAlgorithmInterface> send_algorithm_; | 346 scoped_ptr<SendAlgorithmInterface> send_algorithm_; |
347 scoped_ptr<LossDetectionInterface> loss_algorithm_; | 347 scoped_ptr<LossDetectionInterface> loss_algorithm_; |
348 | 348 |
| 349 // Receiver side buffer in bytes. |
| 350 QuicByteCount receive_buffer_bytes_; |
| 351 |
349 // Least sequence number which the peer is still waiting for. | 352 // Least sequence number which the peer is still waiting for. |
350 QuicPacketSequenceNumber least_packet_awaited_by_peer_; | 353 QuicPacketSequenceNumber least_packet_awaited_by_peer_; |
351 | 354 |
352 // Tracks the first RTO packet. If any packet before that packet gets acked, | 355 // Tracks the first RTO packet. If any packet before that packet gets acked, |
353 // it indicates the RTO was spurious and should be reversed(F-RTO). | 356 // it indicates the RTO was spurious and should be reversed(F-RTO). |
354 QuicPacketSequenceNumber first_rto_transmission_; | 357 QuicPacketSequenceNumber first_rto_transmission_; |
355 // Number of times the RTO timer has fired in a row without receiving an ack. | 358 // Number of times the RTO timer has fired in a row without receiving an ack. |
356 size_t consecutive_rto_count_; | 359 size_t consecutive_rto_count_; |
357 // Number of times the tail loss probe has been sent. | 360 // Number of times the tail loss probe has been sent. |
358 size_t consecutive_tlp_count_; | 361 size_t consecutive_tlp_count_; |
(...skipping 18 matching lines...) Expand all Loading... |
377 // Records bandwidth from server to client in normal operation, over periods | 380 // Records bandwidth from server to client in normal operation, over periods |
378 // of time with no loss events. | 381 // of time with no loss events. |
379 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; | 382 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; |
380 | 383 |
381 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); | 384 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); |
382 }; | 385 }; |
383 | 386 |
384 } // namespace net | 387 } // namespace net |
385 | 388 |
386 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ | 389 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ |
OLD | NEW |