| 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 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 QuicPacketLength data_length) | 726 QuicPacketLength data_length) |
| 727 : ack_listener(listener), length(data_length) { | 727 : ack_listener(listener), length(data_length) { |
| 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 const char* encrypted_buffer, |
| 737 QuicPacketLength encrypted_length, |
| 737 QuicPacketEntropyHash entropy_hash, | 738 QuicPacketEntropyHash entropy_hash, |
| 738 bool has_ack, | 739 bool has_ack, |
| 739 bool has_stop_waiting) | 740 bool has_stop_waiting) |
| 740 : packet(packet), | 741 : encrypted_buffer(encrypted_buffer), |
| 742 encrypted_length(encrypted_length), |
| 741 has_crypto_handshake(NOT_HANDSHAKE), | 743 has_crypto_handshake(NOT_HANDSHAKE), |
| 742 needs_padding(false), | 744 needs_padding(false), |
| 743 path_id(path_id), | 745 path_id(path_id), |
| 744 packet_number(packet_number), | 746 packet_number(packet_number), |
| 745 packet_number_length(packet_number_length), | 747 packet_number_length(packet_number_length), |
| 746 encryption_level(ENCRYPTION_NONE), | 748 encryption_level(ENCRYPTION_NONE), |
| 747 entropy_hash(entropy_hash), | 749 entropy_hash(entropy_hash), |
| 748 is_fec_packet(false), | 750 is_fec_packet(false), |
| 749 has_ack(has_ack), | 751 has_ack(has_ack), |
| 750 has_stop_waiting(has_stop_waiting), | 752 has_stop_waiting(has_stop_waiting), |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 in_flight(false), | 797 in_flight(false), |
| 796 is_unackable(false), | 798 is_unackable(false), |
| 797 is_fec_packet(is_fec_packet), | 799 is_fec_packet(is_fec_packet), |
| 798 has_crypto_handshake(has_crypto_handshake), | 800 has_crypto_handshake(has_crypto_handshake), |
| 799 needs_padding(needs_padding), | 801 needs_padding(needs_padding), |
| 800 retransmission(0) {} | 802 retransmission(0) {} |
| 801 | 803 |
| 802 TransmissionInfo::~TransmissionInfo() {} | 804 TransmissionInfo::~TransmissionInfo() {} |
| 803 | 805 |
| 804 } // namespace net | 806 } // namespace net |
| OLD | NEW |