| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "net/quic/quic_protocol.h" | 5 #include "net/quic/quic_protocol.h" |
| 6 | 6 |
| 7 #include "base/stl_util.h" | 7 #include "base/stl_util.h" |
| 8 #include "net/quic/quic_utils.h" | 8 #include "net/quic/quic_utils.h" |
| 9 | 9 |
| 10 using base::StringPiece; | 10 using base::StringPiece; |
| (...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 746 } | 746 } |
| 747 | 747 |
| 748 TransmissionInfo::TransmissionInfo() | 748 TransmissionInfo::TransmissionInfo() |
| 749 : retransmittable_frames(NULL), | 749 : retransmittable_frames(NULL), |
| 750 sequence_number_length(PACKET_1BYTE_SEQUENCE_NUMBER), | 750 sequence_number_length(PACKET_1BYTE_SEQUENCE_NUMBER), |
| 751 sent_time(QuicTime::Zero()), | 751 sent_time(QuicTime::Zero()), |
| 752 bytes_sent(0), | 752 bytes_sent(0), |
| 753 nack_count(0), | 753 nack_count(0), |
| 754 transmission_type(NOT_RETRANSMISSION), | 754 transmission_type(NOT_RETRANSMISSION), |
| 755 all_transmissions(NULL), | 755 all_transmissions(NULL), |
| 756 in_flight(false) { } | 756 in_flight(false) {} |
| 757 | 757 |
| 758 TransmissionInfo::TransmissionInfo( | 758 TransmissionInfo::TransmissionInfo( |
| 759 RetransmittableFrames* retransmittable_frames, | 759 RetransmittableFrames* retransmittable_frames, |
| 760 QuicPacketSequenceNumber sequence_number, | 760 QuicPacketSequenceNumber sequence_number, |
| 761 QuicSequenceNumberLength sequence_number_length) | 761 QuicSequenceNumberLength sequence_number_length) |
| 762 : retransmittable_frames(retransmittable_frames), | 762 : retransmittable_frames(retransmittable_frames), |
| 763 sequence_number_length(sequence_number_length), | 763 sequence_number_length(sequence_number_length), |
| 764 sent_time(QuicTime::Zero()), | 764 sent_time(QuicTime::Zero()), |
| 765 bytes_sent(0), | 765 bytes_sent(0), |
| 766 nack_count(0), | 766 nack_count(0), |
| (...skipping 14 matching lines...) Expand all Loading... |
| 781 sent_time(QuicTime::Zero()), | 781 sent_time(QuicTime::Zero()), |
| 782 bytes_sent(0), | 782 bytes_sent(0), |
| 783 nack_count(0), | 783 nack_count(0), |
| 784 transmission_type(transmission_type), | 784 transmission_type(transmission_type), |
| 785 all_transmissions(all_transmissions), | 785 all_transmissions(all_transmissions), |
| 786 in_flight(false) { | 786 in_flight(false) { |
| 787 all_transmissions->insert(sequence_number); | 787 all_transmissions->insert(sequence_number); |
| 788 } | 788 } |
| 789 | 789 |
| 790 } // namespace net | 790 } // namespace net |
| OLD | NEW |