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

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

Issue 509073004: Change TransmissionInfo's all_transmissions SequenceNumberSet* to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@log_quic_version_74069715
Patch Set: Created 6 years, 3 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.cc ('k') | net/quic/quic_sent_packet_manager.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SENT_PACKET_MANAGER_H_ 5 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 QuicTime::Delta delta_largest_observed); 320 QuicTime::Delta delta_largest_observed);
321 321
322 // Request that |sequence_number| be retransmitted after the other pending 322 // Request that |sequence_number| be retransmitted after the other pending
323 // retransmissions. Does not add it to the retransmissions if it's already 323 // retransmissions. Does not add it to the retransmissions if it's already
324 // a pending retransmission. 324 // a pending retransmission.
325 void MarkForRetransmission(QuicPacketSequenceNumber sequence_number, 325 void MarkForRetransmission(QuicPacketSequenceNumber sequence_number,
326 TransmissionType transmission_type); 326 TransmissionType transmission_type);
327 327
328 // Notify observers about spurious retransmits. 328 // Notify observers about spurious retransmits.
329 void RecordSpuriousRetransmissions( 329 void RecordSpuriousRetransmissions(
330 const SequenceNumberSet& all_transmissions, 330 const SequenceNumberList& all_transmissions,
331 QuicPacketSequenceNumber acked_sequence_number); 331 QuicPacketSequenceNumber acked_sequence_number);
332 332
333 // Newly serialized retransmittable and fec packets are added to this map, 333 // Newly serialized retransmittable and fec packets are added to this map,
334 // which contains owning pointers to any contained frames. If a packet is 334 // which contains owning pointers to any contained frames. If a packet is
335 // retransmitted, this map will contain entries for both the old and the new 335 // retransmitted, this map will contain entries for both the old and the new
336 // packet. The old packet's retransmittable frames entry will be NULL, while 336 // packet. The old packet's retransmittable frames entry will be NULL, while
337 // the new packet's entry will contain the frames to retransmit. 337 // the new packet's entry will contain the frames to retransmit.
338 // If the old packet is acked before the new packet, then the old entry will 338 // If the old packet is acked before the new packet, then the old entry will
339 // be removed from the map and the new entry's retransmittable frames will be 339 // be removed from the map and the new entry's retransmittable frames will be
340 // set to NULL. 340 // set to NULL.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 // Records bandwidth from server to client in normal operation, over periods 390 // Records bandwidth from server to client in normal operation, over periods
391 // of time with no loss events. 391 // of time with no loss events.
392 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; 392 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_;
393 393
394 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); 394 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager);
395 }; 395 };
396 396
397 } // namespace net 397 } // namespace net
398 398
399 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 399 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_protocol.cc ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698