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

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

Issue 1962643003: Add original_path_id to SerializedPacket and OnPacketSent. No functional change expected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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.h » ('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 "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 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 encrypted_length(encrypted_length), 807 encrypted_length(encrypted_length),
808 has_crypto_handshake(NOT_HANDSHAKE), 808 has_crypto_handshake(NOT_HANDSHAKE),
809 num_padding_bytes(0), 809 num_padding_bytes(0),
810 path_id(path_id), 810 path_id(path_id),
811 packet_number(packet_number), 811 packet_number(packet_number),
812 packet_number_length(packet_number_length), 812 packet_number_length(packet_number_length),
813 encryption_level(ENCRYPTION_NONE), 813 encryption_level(ENCRYPTION_NONE),
814 entropy_hash(entropy_hash), 814 entropy_hash(entropy_hash),
815 has_ack(has_ack), 815 has_ack(has_ack),
816 has_stop_waiting(has_stop_waiting), 816 has_stop_waiting(has_stop_waiting),
817 original_path_id(kInvalidPathId),
817 original_packet_number(0), 818 original_packet_number(0),
818 transmission_type(NOT_RETRANSMISSION) {} 819 transmission_type(NOT_RETRANSMISSION) {}
819 820
820 SerializedPacket::SerializedPacket(const SerializedPacket& other) = default; 821 SerializedPacket::SerializedPacket(const SerializedPacket& other) = default;
821 822
822 SerializedPacket::~SerializedPacket() {} 823 SerializedPacket::~SerializedPacket() {}
823 824
824 TransmissionInfo::TransmissionInfo() 825 TransmissionInfo::TransmissionInfo()
825 : encryption_level(ENCRYPTION_NONE), 826 : encryption_level(ENCRYPTION_NONE),
826 packet_number_length(PACKET_1BYTE_PACKET_NUMBER), 827 packet_number_length(PACKET_1BYTE_PACKET_NUMBER),
(...skipping 24 matching lines...) Expand all
851 is_unackable(false), 852 is_unackable(false),
852 has_crypto_handshake(has_crypto_handshake), 853 has_crypto_handshake(has_crypto_handshake),
853 num_padding_bytes(num_padding_bytes), 854 num_padding_bytes(num_padding_bytes),
854 retransmission(0) {} 855 retransmission(0) {}
855 856
856 TransmissionInfo::TransmissionInfo(const TransmissionInfo& other) = default; 857 TransmissionInfo::TransmissionInfo(const TransmissionInfo& other) = default;
857 858
858 TransmissionInfo::~TransmissionInfo() {} 859 TransmissionInfo::~TransmissionInfo() {}
859 860
860 } // namespace net 861 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_sent_packet_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698