Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(556)

Side by Side Diff: net/quic/quic_protocol.cc

Issue 1660533002: Landing Recent QUIC changes until 01/26/2016 18:14 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 packet_number_length(PACKET_1BYTE_PACKET_NUMBER), 801 packet_number_length(PACKET_1BYTE_PACKET_NUMBER),
802 bytes_sent(0), 802 bytes_sent(0),
803 nack_count(0), 803 nack_count(0),
804 sent_time(QuicTime::Zero()), 804 sent_time(QuicTime::Zero()),
805 transmission_type(NOT_RETRANSMISSION), 805 transmission_type(NOT_RETRANSMISSION),
806 in_flight(false), 806 in_flight(false),
807 is_unackable(false), 807 is_unackable(false),
808 is_fec_packet(false), 808 is_fec_packet(false),
809 has_crypto_handshake(false), 809 has_crypto_handshake(false),
810 needs_padding(false), 810 needs_padding(false),
811 all_transmissions(nullptr),
812 retransmission(0) {} 811 retransmission(0) {}
813 812
814 TransmissionInfo::TransmissionInfo(EncryptionLevel level, 813 TransmissionInfo::TransmissionInfo(EncryptionLevel level,
815 QuicPacketNumberLength packet_number_length, 814 QuicPacketNumberLength packet_number_length,
816 TransmissionType transmission_type, 815 TransmissionType transmission_type,
817 QuicTime sent_time, 816 QuicTime sent_time,
818 QuicPacketLength bytes_sent, 817 QuicPacketLength bytes_sent,
819 bool is_fec_packet, 818 bool is_fec_packet,
820 bool has_crypto_handshake, 819 bool has_crypto_handshake,
821 bool needs_padding) 820 bool needs_padding)
822 : encryption_level(level), 821 : encryption_level(level),
823 packet_number_length(packet_number_length), 822 packet_number_length(packet_number_length),
824 bytes_sent(bytes_sent), 823 bytes_sent(bytes_sent),
825 nack_count(0), 824 nack_count(0),
826 sent_time(sent_time), 825 sent_time(sent_time),
827 transmission_type(transmission_type), 826 transmission_type(transmission_type),
828 in_flight(false), 827 in_flight(false),
829 is_unackable(false), 828 is_unackable(false),
830 is_fec_packet(is_fec_packet), 829 is_fec_packet(is_fec_packet),
831 has_crypto_handshake(has_crypto_handshake), 830 has_crypto_handshake(has_crypto_handshake),
832 needs_padding(needs_padding), 831 needs_padding(needs_padding),
833 all_transmissions(nullptr),
834 retransmission(0) {} 832 retransmission(0) {}
835 833
836 TransmissionInfo::~TransmissionInfo() {} 834 TransmissionInfo::~TransmissionInfo() {}
837 835
838 } // namespace net 836 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698