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 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
728 DCHECK(listener != nullptr); | 728 DCHECK(listener != nullptr); |
729 } | 729 } |
730 | 730 |
731 AckListenerWrapper::~AckListenerWrapper() {} | 731 AckListenerWrapper::~AckListenerWrapper() {} |
732 | 732 |
733 SerializedPacket::SerializedPacket(QuicPathId path_id, | 733 SerializedPacket::SerializedPacket(QuicPathId path_id, |
734 QuicPacketNumber packet_number, | 734 QuicPacketNumber packet_number, |
735 QuicPacketNumberLength packet_number_length, | 735 QuicPacketNumberLength packet_number_length, |
736 QuicEncryptedPacket* packet, | 736 QuicEncryptedPacket* packet, |
737 QuicPacketEntropyHash entropy_hash, | 737 QuicPacketEntropyHash entropy_hash, |
738 QuicFrames* retransmittable_frames, | |
739 bool has_ack, | 738 bool has_ack, |
740 bool has_stop_waiting) | 739 bool has_stop_waiting) |
741 : packet(packet), | 740 : packet(packet), |
742 retransmittable_frames(retransmittable_frames), | |
743 has_crypto_handshake(NOT_HANDSHAKE), | 741 has_crypto_handshake(NOT_HANDSHAKE), |
744 needs_padding(false), | 742 needs_padding(false), |
745 path_id(path_id), | 743 path_id(path_id), |
746 packet_number(packet_number), | 744 packet_number(packet_number), |
747 packet_number_length(packet_number_length), | 745 packet_number_length(packet_number_length), |
748 encryption_level(ENCRYPTION_NONE), | 746 encryption_level(ENCRYPTION_NONE), |
749 entropy_hash(entropy_hash), | 747 entropy_hash(entropy_hash), |
750 is_fec_packet(false), | 748 is_fec_packet(false), |
751 has_ack(has_ack), | 749 has_ack(has_ack), |
752 has_stop_waiting(has_stop_waiting), | 750 has_stop_waiting(has_stop_waiting), |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 in_flight(false), | 795 in_flight(false), |
798 is_unackable(false), | 796 is_unackable(false), |
799 is_fec_packet(is_fec_packet), | 797 is_fec_packet(is_fec_packet), |
800 has_crypto_handshake(has_crypto_handshake), | 798 has_crypto_handshake(has_crypto_handshake), |
801 needs_padding(needs_padding), | 799 needs_padding(needs_padding), |
802 retransmission(0) {} | 800 retransmission(0) {} |
803 | 801 |
804 TransmissionInfo::~TransmissionInfo() {} | 802 TransmissionInfo::~TransmissionInfo() {} |
805 | 803 |
806 } // namespace net | 804 } // namespace net |
OLD | NEW |