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

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

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_packet_creator.cc ('k') | net/quic/quic_protocol.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_QUIC_PROTOCOL_H_ 5 #ifndef NET_QUIC_QUIC_PROTOCOL_H_
6 #define NET_QUIC_QUIC_PROTOCOL_H_ 6 #define NET_QUIC_QUIC_PROTOCOL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 1385 matching lines...) Expand 10 before | Expand all | Expand 10 after
1396 // 0: no padding 1396 // 0: no padding
1397 // otherwise: only pad up to num_padding_bytes bytes 1397 // otherwise: only pad up to num_padding_bytes bytes
1398 int num_padding_bytes; 1398 int num_padding_bytes;
1399 QuicPathId path_id; 1399 QuicPathId path_id;
1400 QuicPacketNumber packet_number; 1400 QuicPacketNumber packet_number;
1401 QuicPacketNumberLength packet_number_length; 1401 QuicPacketNumberLength packet_number_length;
1402 EncryptionLevel encryption_level; 1402 EncryptionLevel encryption_level;
1403 QuicPacketEntropyHash entropy_hash; 1403 QuicPacketEntropyHash entropy_hash;
1404 bool has_ack; 1404 bool has_ack;
1405 bool has_stop_waiting; 1405 bool has_stop_waiting;
1406 QuicPathId original_path_id;
1406 QuicPacketNumber original_packet_number; 1407 QuicPacketNumber original_packet_number;
1407 TransmissionType transmission_type; 1408 TransmissionType transmission_type;
1408 1409
1409 // Optional notifiers which will be informed when this packet has been ACKed. 1410 // Optional notifiers which will be informed when this packet has been ACKed.
1410 std::list<AckListenerWrapper> listeners; 1411 std::list<AckListenerWrapper> listeners;
1411 }; 1412 };
1412 1413
1413 struct NET_EXPORT_PRIVATE TransmissionInfo { 1414 struct NET_EXPORT_PRIVATE TransmissionInfo {
1414 // Used by STL when assigning into a map. 1415 // Used by STL when assigning into a map.
1415 TransmissionInfo(); 1416 TransmissionInfo();
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
1487 : iov(iov), iov_count(iov_count), total_length(total_length) {} 1488 : iov(iov), iov_count(iov_count), total_length(total_length) {}
1488 1489
1489 const struct iovec* iov; 1490 const struct iovec* iov;
1490 const int iov_count; 1491 const int iov_count;
1491 const size_t total_length; 1492 const size_t total_length;
1492 }; 1493 };
1493 1494
1494 } // namespace net 1495 } // namespace net
1495 1496
1496 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1497 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/quic_packet_creator.cc ('k') | net/quic/quic_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698