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

Unified Diff: net/quic/quic_protocol.h

Issue 789103013: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_packet_generator.cc ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_protocol.h
diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h
index 81c87c7e917ffce4fc8655ed44d341b80ecb5b43..99c0a281fd18fa4626de77c8e85d871aa9fe2568 100644
--- a/net/quic/quic_protocol.h
+++ b/net/quic/quic_protocol.h
@@ -661,6 +661,7 @@ struct NET_EXPORT_PRIVATE QuicStreamFrame {
QuicStreamOffset offset; // Location of this data in the stream.
IOVector data;
+ // TODO(rjshade): Remove with FLAGS_quic_attach_ack_notifiers_to_packets.
// If this is set, then when this packet is ACKed the AckNotifier will be
// informed.
QuicAckNotifier* notifier;
@@ -1066,8 +1067,8 @@ struct NET_EXPORT_PRIVATE SerializedPacket {
QuicPacketEntropyHash entropy_hash;
RetransmittableFrames* retransmittable_frames;
- // If set, these will be called when this packet is ACKed by the peer.
- std::set<QuicAckNotifier*> notifiers;
+ // Optional notifiers which will be informed when this packet has been ACKed.
+ base::hash_set<QuicAckNotifier*> notifiers;
};
struct NET_EXPORT_PRIVATE TransmissionInfo {
« no previous file with comments | « net/quic/quic_packet_generator.cc ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698