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_flags.h" | 8 #include "net/quic/quic_flags.h" |
9 #include "net/quic/quic_utils.h" | 9 #include "net/quic/quic_utils.h" |
10 | 10 |
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 bool has_stop_waiting) | 784 bool has_stop_waiting) |
785 : packet(packet), | 785 : packet(packet), |
786 retransmittable_frames(retransmittable_frames), | 786 retransmittable_frames(retransmittable_frames), |
787 path_id(path_id), | 787 path_id(path_id), |
788 packet_number(packet_number), | 788 packet_number(packet_number), |
789 packet_number_length(packet_number_length), | 789 packet_number_length(packet_number_length), |
790 encryption_level(ENCRYPTION_NONE), | 790 encryption_level(ENCRYPTION_NONE), |
791 entropy_hash(entropy_hash), | 791 entropy_hash(entropy_hash), |
792 is_fec_packet(false), | 792 is_fec_packet(false), |
793 has_ack(has_ack), | 793 has_ack(has_ack), |
794 has_stop_waiting(has_stop_waiting) {} | 794 has_stop_waiting(has_stop_waiting), |
| 795 original_packet_number(0), |
| 796 transmission_type(NOT_RETRANSMISSION) {} |
795 | 797 |
796 SerializedPacket::SerializedPacket( | 798 SerializedPacket::SerializedPacket( |
797 QuicPathId path_id, | 799 QuicPathId path_id, |
798 QuicPacketNumber packet_number, | 800 QuicPacketNumber packet_number, |
799 QuicPacketNumberLength packet_number_length, | 801 QuicPacketNumberLength packet_number_length, |
800 char* encrypted_buffer, | 802 char* encrypted_buffer, |
801 size_t encrypted_length, | 803 size_t encrypted_length, |
802 bool owns_buffer, | 804 bool owns_buffer, |
803 QuicPacketEntropyHash entropy_hash, | 805 QuicPacketEntropyHash entropy_hash, |
804 RetransmittableFrames* retransmittable_frames, | 806 RetransmittableFrames* retransmittable_frames, |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
864 transmission_type(transmission_type), | 866 transmission_type(transmission_type), |
865 in_flight(false), | 867 in_flight(false), |
866 is_unackable(false), | 868 is_unackable(false), |
867 is_fec_packet(is_fec_packet), | 869 is_fec_packet(is_fec_packet), |
868 all_transmissions(nullptr), | 870 all_transmissions(nullptr), |
869 retransmission(0) {} | 871 retransmission(0) {} |
870 | 872 |
871 TransmissionInfo::~TransmissionInfo() {} | 873 TransmissionInfo::~TransmissionInfo() {} |
872 | 874 |
873 } // namespace net | 875 } // namespace net |
OLD | NEW |