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

Unified Diff: net/quic/quic_sent_packet_manager.h

Issue 293383008: Simplify QuicSentPacketManager MarkPacketHandled to take an iterator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | 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_sent_packet_manager.h
diff --git a/net/quic/quic_sent_packet_manager.h b/net/quic/quic_sent_packet_manager.h
index 0c6c407b404ab0b644e90642e05f6a1691173e20..d65e361dccd9ea862fefa26741052f6ec511141a 100644
--- a/net/quic/quic_sent_packet_manager.h
+++ b/net/quic/quic_sent_packet_manager.h
@@ -227,11 +227,11 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
void MarkPacketRevived(QuicPacketSequenceNumber sequence_number,
QuicTime::Delta delta_largest_observed);
- // Marks |sequence_number| as being fully handled, either due to receipt
- // by the peer, or having been discarded as indecipherable. Returns an
- // iterator to the next remaining unacked packet.
+ // Removes the retransmittability and pending properties from the packet at
+ // |it| due to receipt by the peer. Returns an iterator to the next remaining
+ // unacked packet.
QuicUnackedPacketMap::const_iterator MarkPacketHandled(
- QuicPacketSequenceNumber sequence_number,
+ QuicUnackedPacketMap::const_iterator it,
QuicTime::Delta delta_largest_observed);
// Request that |sequence_number| be retransmitted after the other pending
« no previous file with comments | « no previous file | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698