| 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 "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
| 9 #include "net/quic/quic_flags.h" | 9 #include "net/quic/quic_flags.h" |
| 10 #include "net/quic/quic_utils.h" | 10 #include "net/quic/quic_utils.h" |
| (...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 823 transmission_type(NOT_RETRANSMISSION) {} | 823 transmission_type(NOT_RETRANSMISSION) {} |
| 824 | 824 |
| 825 SerializedPacket::SerializedPacket(const SerializedPacket& other) = default; | 825 SerializedPacket::SerializedPacket(const SerializedPacket& other) = default; |
| 826 | 826 |
| 827 SerializedPacket::~SerializedPacket() {} | 827 SerializedPacket::~SerializedPacket() {} |
| 828 | 828 |
| 829 TransmissionInfo::TransmissionInfo() | 829 TransmissionInfo::TransmissionInfo() |
| 830 : encryption_level(ENCRYPTION_NONE), | 830 : encryption_level(ENCRYPTION_NONE), |
| 831 packet_number_length(PACKET_1BYTE_PACKET_NUMBER), | 831 packet_number_length(PACKET_1BYTE_PACKET_NUMBER), |
| 832 bytes_sent(0), | 832 bytes_sent(0), |
| 833 nack_count(0), | |
| 834 sent_time(QuicTime::Zero()), | 833 sent_time(QuicTime::Zero()), |
| 835 transmission_type(NOT_RETRANSMISSION), | 834 transmission_type(NOT_RETRANSMISSION), |
| 836 in_flight(false), | 835 in_flight(false), |
| 837 is_unackable(false), | 836 is_unackable(false), |
| 838 has_crypto_handshake(false), | 837 has_crypto_handshake(false), |
| 839 num_padding_bytes(0), | 838 num_padding_bytes(0), |
| 840 retransmission(0) {} | 839 retransmission(0) {} |
| 841 | 840 |
| 842 TransmissionInfo::TransmissionInfo(EncryptionLevel level, | 841 TransmissionInfo::TransmissionInfo(EncryptionLevel level, |
| 843 QuicPacketNumberLength packet_number_length, | 842 QuicPacketNumberLength packet_number_length, |
| 844 TransmissionType transmission_type, | 843 TransmissionType transmission_type, |
| 845 QuicTime sent_time, | 844 QuicTime sent_time, |
| 846 QuicPacketLength bytes_sent, | 845 QuicPacketLength bytes_sent, |
| 847 bool has_crypto_handshake, | 846 bool has_crypto_handshake, |
| 848 int num_padding_bytes) | 847 int num_padding_bytes) |
| 849 : encryption_level(level), | 848 : encryption_level(level), |
| 850 packet_number_length(packet_number_length), | 849 packet_number_length(packet_number_length), |
| 851 bytes_sent(bytes_sent), | 850 bytes_sent(bytes_sent), |
| 852 nack_count(0), | |
| 853 sent_time(sent_time), | 851 sent_time(sent_time), |
| 854 transmission_type(transmission_type), | 852 transmission_type(transmission_type), |
| 855 in_flight(false), | 853 in_flight(false), |
| 856 is_unackable(false), | 854 is_unackable(false), |
| 857 has_crypto_handshake(has_crypto_handshake), | 855 has_crypto_handshake(has_crypto_handshake), |
| 858 num_padding_bytes(num_padding_bytes), | 856 num_padding_bytes(num_padding_bytes), |
| 859 retransmission(0) {} | 857 retransmission(0) {} |
| 860 | 858 |
| 861 TransmissionInfo::TransmissionInfo(const TransmissionInfo& other) = default; | 859 TransmissionInfo::TransmissionInfo(const TransmissionInfo& other) = default; |
| 862 | 860 |
| 863 TransmissionInfo::~TransmissionInfo() {} | 861 TransmissionInfo::~TransmissionInfo() {} |
| 864 | 862 |
| 865 } // namespace net | 863 } // namespace net |
| OLD | NEW |