| 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 <deque> | 8 #include <deque> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 virtual ~DebugDelegate() {} | 50 virtual ~DebugDelegate() {} |
| 51 | 51 |
| 52 // Called when a spurious retransmission is detected. | 52 // Called when a spurious retransmission is detected. |
| 53 virtual void OnSpuriousPacketRetransmition( | 53 virtual void OnSpuriousPacketRetransmition( |
| 54 TransmissionType transmission_type, | 54 TransmissionType transmission_type, |
| 55 QuicByteCount byte_size) {} | 55 QuicByteCount byte_size) {} |
| 56 | 56 |
| 57 virtual void OnSentPacket( | 57 virtual void OnSentPacket( |
| 58 QuicPacketSequenceNumber sequence_number, | 58 QuicPacketSequenceNumber sequence_number, |
| 59 QuicTime sent_time, | 59 QuicTime sent_time, |
| 60 QuicByteCount bytes) {} | 60 QuicByteCount bytes, |
| 61 TransmissionType transmission_type) {} |
| 61 | 62 |
| 62 virtual void OnRetransmittedPacket( | 63 virtual void OnRetransmittedPacket( |
| 63 QuicPacketSequenceNumber old_sequence_number, | 64 QuicPacketSequenceNumber old_sequence_number, |
| 64 QuicPacketSequenceNumber new_sequence_number, | 65 QuicPacketSequenceNumber new_sequence_number, |
| 65 TransmissionType transmission_type, | 66 TransmissionType transmission_type, |
| 66 QuicTime time) {} | 67 QuicTime time) {} |
| 67 | 68 |
| 68 virtual void OnIncomingAck( | 69 virtual void OnIncomingAck( |
| 69 const QuicAckFrame& ack_frame, | 70 const QuicAckFrame& ack_frame, |
| 70 QuicTime ack_receive_time, | 71 QuicTime ack_receive_time, |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 // Records bandwidth from server to client in normal operation, over periods | 393 // Records bandwidth from server to client in normal operation, over periods |
| 393 // of time with no loss events. | 394 // of time with no loss events. |
| 394 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; | 395 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; |
| 395 | 396 |
| 396 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); | 397 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); |
| 397 }; | 398 }; |
| 398 | 399 |
| 399 } // namespace net | 400 } // namespace net |
| 400 | 401 |
| 401 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ | 402 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ |
| OLD | NEW |