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

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

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 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_packet_generator.cc ('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 #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 <limits> 9 #include <limits>
10 #include <list> 10 #include <list>
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 RetransmittableFrames* retransmittable_frames); 1026 RetransmittableFrames* retransmittable_frames);
1027 ~SerializedPacket(); 1027 ~SerializedPacket();
1028 1028
1029 QuicPacketSequenceNumber sequence_number; 1029 QuicPacketSequenceNumber sequence_number;
1030 QuicSequenceNumberLength sequence_number_length; 1030 QuicSequenceNumberLength sequence_number_length;
1031 QuicPacket* packet; 1031 QuicPacket* packet;
1032 QuicPacketEntropyHash entropy_hash; 1032 QuicPacketEntropyHash entropy_hash;
1033 RetransmittableFrames* retransmittable_frames; 1033 RetransmittableFrames* retransmittable_frames;
1034 1034
1035 // Optional notifiers which will be informed when this packet has been ACKed. 1035 // Optional notifiers which will be informed when this packet has been ACKed.
1036 base::hash_set<QuicAckNotifier*> notifiers; 1036 std::list<QuicAckNotifier*> notifiers;
1037 }; 1037 };
1038 1038
1039 struct NET_EXPORT_PRIVATE TransmissionInfo { 1039 struct NET_EXPORT_PRIVATE TransmissionInfo {
1040 // Used by STL when assigning into a map. 1040 // Used by STL when assigning into a map.
1041 TransmissionInfo(); 1041 TransmissionInfo();
1042 1042
1043 // Constructs a Transmission with a new all_tranmissions set 1043 // Constructs a Transmission with a new all_tranmissions set
1044 // containing |sequence_number|. 1044 // containing |sequence_number|.
1045 TransmissionInfo(RetransmittableFrames* retransmittable_frames, 1045 TransmissionInfo(RetransmittableFrames* retransmittable_frames,
1046 QuicSequenceNumberLength sequence_number_length, 1046 QuicSequenceNumberLength sequence_number_length,
(...skipping 16 matching lines...) Expand all
1063 bool in_flight; 1063 bool in_flight;
1064 // True if the packet can never be acked, so it can be removed. 1064 // True if the packet can never be acked, so it can be removed.
1065 bool is_unackable; 1065 bool is_unackable;
1066 // True if the packet is an FEC packet. 1066 // True if the packet is an FEC packet.
1067 bool is_fec_packet; 1067 bool is_fec_packet;
1068 }; 1068 };
1069 1069
1070 } // namespace net 1070 } // namespace net
1071 1071
1072 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1072 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/quic_packet_generator.cc ('k') | net/quic/quic_sent_packet_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698