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 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 sent_time(QuicTime::Zero()), | 701 sent_time(QuicTime::Zero()), |
702 bytes_sent(0), | 702 bytes_sent(0), |
703 nack_count(0), | 703 nack_count(0), |
704 transmission_type(NOT_RETRANSMISSION), | 704 transmission_type(NOT_RETRANSMISSION), |
705 all_transmissions(nullptr), | 705 all_transmissions(nullptr), |
706 in_flight(false), | 706 in_flight(false), |
707 is_unackable(false) {} | 707 is_unackable(false) {} |
708 | 708 |
709 TransmissionInfo::TransmissionInfo( | 709 TransmissionInfo::TransmissionInfo( |
710 RetransmittableFrames* retransmittable_frames, | 710 RetransmittableFrames* retransmittable_frames, |
711 QuicSequenceNumberLength sequence_number_length) | |
712 : retransmittable_frames(retransmittable_frames), | |
713 sequence_number_length(sequence_number_length), | |
714 sent_time(QuicTime::Zero()), | |
715 bytes_sent(0), | |
716 nack_count(0), | |
717 transmission_type(NOT_RETRANSMISSION), | |
718 all_transmissions(nullptr), | |
719 in_flight(false), | |
720 is_unackable(false) {} | |
721 | |
722 TransmissionInfo::TransmissionInfo( | |
723 RetransmittableFrames* retransmittable_frames, | |
724 QuicSequenceNumberLength sequence_number_length, | 711 QuicSequenceNumberLength sequence_number_length, |
725 TransmissionType transmission_type, | 712 TransmissionType transmission_type, |
726 SequenceNumberList* all_transmissions) | 713 QuicTime sent_time) |
727 : retransmittable_frames(retransmittable_frames), | 714 : retransmittable_frames(retransmittable_frames), |
728 sequence_number_length(sequence_number_length), | 715 sequence_number_length(sequence_number_length), |
729 sent_time(QuicTime::Zero()), | 716 sent_time(sent_time), |
730 bytes_sent(0), | 717 bytes_sent(0), |
731 nack_count(0), | 718 nack_count(0), |
732 transmission_type(transmission_type), | 719 transmission_type(transmission_type), |
733 all_transmissions(all_transmissions), | 720 all_transmissions(nullptr), |
734 in_flight(false), | 721 in_flight(false), |
735 is_unackable(false) {} | 722 is_unackable(false) {} |
736 | 723 |
737 } // namespace net | 724 } // namespace net |
OLD | NEW |