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

Side by Side Diff: net/quic/core/quic_packets.h

Issue 2898233002: Deprecate FLAGS_quic_reloadable_flag_quic_remove_multipath_bit. (Closed)
Patch Set: Created 3 years, 6 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/core/quic_packet_creator.cc ('k') | net/quic/core/quic_packets.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 #ifndef NET_QUIC_CORE_QUIC_PACKETS_H_ 5 #ifndef NET_QUIC_CORE_QUIC_PACKETS_H_
6 #define NET_QUIC_CORE_QUIC_PACKETS_H_ 6 #define NET_QUIC_CORE_QUIC_PACKETS_H_
7 7
8 #include <cstdint> 8 #include <cstdint>
9 #include <limits> 9 #include <limits>
10 #include <list> 10 #include <list>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 struct QUIC_EXPORT_PRIVATE QuicPacketPublicHeader { 58 struct QUIC_EXPORT_PRIVATE QuicPacketPublicHeader {
59 QuicPacketPublicHeader(); 59 QuicPacketPublicHeader();
60 QuicPacketPublicHeader(const QuicPacketPublicHeader& other); 60 QuicPacketPublicHeader(const QuicPacketPublicHeader& other);
61 ~QuicPacketPublicHeader(); 61 ~QuicPacketPublicHeader();
62 62
63 // Universal header. All QuicPacket headers will have a connection_id and 63 // Universal header. All QuicPacket headers will have a connection_id and
64 // public flags. 64 // public flags.
65 QuicConnectionId connection_id; 65 QuicConnectionId connection_id;
66 QuicConnectionIdLength connection_id_length; 66 QuicConnectionIdLength connection_id_length;
67 // TODO(fayang): Remove multipath_flag when deprecating
68 // quic_reloadable_flag_quic_remove_multipath_bit.
69 bool multipath_flag;
70 bool reset_flag; 67 bool reset_flag;
71 bool version_flag; 68 bool version_flag;
72 QuicPacketNumberLength packet_number_length; 69 QuicPacketNumberLength packet_number_length;
73 QuicVersionVector versions; 70 QuicVersionVector versions;
74 // nonce contains an optional, 32-byte nonce value. If not included in the 71 // nonce contains an optional, 32-byte nonce value. If not included in the
75 // packet, |nonce| will be empty. 72 // packet, |nonce| will be empty.
76 DiversificationNonce* nonce; 73 DiversificationNonce* nonce;
77 }; 74 };
78 75
79 // Header for Data packets. 76 // Header for Data packets.
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 QUIC_EXPORT_PRIVATE void ClearSerializedPacket( 244 QUIC_EXPORT_PRIVATE void ClearSerializedPacket(
248 SerializedPacket* serialized_packet); 245 SerializedPacket* serialized_packet);
249 246
250 // Allocates a new char[] of size |packet.encrypted_length| and copies in 247 // Allocates a new char[] of size |packet.encrypted_length| and copies in
251 // |packet.encrypted_buffer|. 248 // |packet.encrypted_buffer|.
252 QUIC_EXPORT_PRIVATE char* CopyBuffer(const SerializedPacket& packet); 249 QUIC_EXPORT_PRIVATE char* CopyBuffer(const SerializedPacket& packet);
253 250
254 } // namespace net 251 } // namespace net
255 252
256 #endif // NET_QUIC_CORE_QUIC_PACKETS_H_ 253 #endif // NET_QUIC_CORE_QUIC_PACKETS_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_packet_creator.cc ('k') | net/quic/core/quic_packets.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698