| 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 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 645 TransmissionInfo::TransmissionInfo() | 645 TransmissionInfo::TransmissionInfo() |
| 646 : retransmittable_frames(nullptr), | 646 : retransmittable_frames(nullptr), |
| 647 sequence_number_length(PACKET_1BYTE_SEQUENCE_NUMBER), | 647 sequence_number_length(PACKET_1BYTE_SEQUENCE_NUMBER), |
| 648 sent_time(QuicTime::Zero()), | 648 sent_time(QuicTime::Zero()), |
| 649 bytes_sent(0), | 649 bytes_sent(0), |
| 650 nack_count(0), | 650 nack_count(0), |
| 651 transmission_type(NOT_RETRANSMISSION), | 651 transmission_type(NOT_RETRANSMISSION), |
| 652 all_transmissions(nullptr), | 652 all_transmissions(nullptr), |
| 653 in_flight(false), | 653 in_flight(false), |
| 654 is_unackable(false), | 654 is_unackable(false), |
| 655 is_fec_packet(false) {} | 655 is_fec_packet(false) { |
| 656 } |
| 656 | 657 |
| 657 TransmissionInfo::TransmissionInfo( | 658 TransmissionInfo::TransmissionInfo( |
| 658 RetransmittableFrames* retransmittable_frames, | 659 RetransmittableFrames* retransmittable_frames, |
| 659 QuicSequenceNumberLength sequence_number_length, | 660 QuicSequenceNumberLength sequence_number_length, |
| 660 TransmissionType transmission_type, | 661 TransmissionType transmission_type, |
| 661 QuicTime sent_time) | 662 QuicTime sent_time, |
| 663 QuicByteCount bytes_sent, |
| 664 bool is_fec_packet) |
| 662 : retransmittable_frames(retransmittable_frames), | 665 : retransmittable_frames(retransmittable_frames), |
| 663 sequence_number_length(sequence_number_length), | 666 sequence_number_length(sequence_number_length), |
| 664 sent_time(sent_time), | 667 sent_time(sent_time), |
| 665 bytes_sent(0), | 668 bytes_sent(bytes_sent), |
| 666 nack_count(0), | 669 nack_count(0), |
| 667 transmission_type(transmission_type), | 670 transmission_type(transmission_type), |
| 668 all_transmissions(nullptr), | 671 all_transmissions(nullptr), |
| 669 in_flight(false), | 672 in_flight(false), |
| 670 is_unackable(false), | 673 is_unackable(false), |
| 671 is_fec_packet(false) {} | 674 is_fec_packet(is_fec_packet) { |
| 675 } |
| 672 | 676 |
| 673 } // namespace net | 677 } // namespace net |
| OLD | NEW |