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

Unified Diff: net/quic/quic_sent_packet_manager.h

Issue 523813003: Revert of Landing Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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_sent_entropy_manager.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_sent_packet_manager.h
diff --git a/net/quic/quic_sent_packet_manager.h b/net/quic/quic_sent_packet_manager.h
index 84294d19d26226cfe77c8d2a6ff47e518bbbd6e2..342dd3d4653144005b9ad3ae86db254a8ba58c10 100644
--- a/net/quic/quic_sent_packet_manager.h
+++ b/net/quic/quic_sent_packet_manager.h
@@ -5,7 +5,10 @@
#ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
#define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
+#include <deque>
+#include <list>
#include <map>
+#include <queue>
#include <set>
#include <utility>
#include <vector>
@@ -54,8 +57,7 @@
virtual void OnSentPacket(
QuicPacketSequenceNumber sequence_number,
QuicTime sent_time,
- QuicByteCount bytes,
- TransmissionType transmission_type) {}
+ QuicByteCount bytes) {}
virtual void OnRetransmittedPacket(
QuicPacketSequenceNumber old_sequence_number,
@@ -69,9 +71,6 @@
QuicPacketSequenceNumber largest_observed,
bool largest_observed_acked,
QuicPacketSequenceNumber least_unacked_sent_packet) {}
-
- virtual void OnSerializedPacket(
- const SerializedPacket& packet) {}
};
// Interface which gets callbacks from the QuicSentPacketManager when
@@ -315,9 +314,9 @@
// 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.
- void MarkPacketHandled(QuicPacketSequenceNumber sequence_number,
- const TransmissionInfo& info,
- QuicTime::Delta delta_largest_observed);
+ QuicUnackedPacketMap::const_iterator MarkPacketHandled(
+ QuicUnackedPacketMap::const_iterator it,
+ QuicTime::Delta delta_largest_observed);
// Request that |sequence_number| be retransmitted after the other pending
// retransmissions. Does not add it to the retransmissions if it's already
@@ -327,7 +326,7 @@
// Notify observers about spurious retransmits.
void RecordSpuriousRetransmissions(
- const SequenceNumberList& all_transmissions,
+ const SequenceNumberSet& all_transmissions,
QuicPacketSequenceNumber acked_sequence_number);
// Newly serialized retransmittable and fec packets are added to this map,
« no previous file with comments | « net/quic/quic_sent_entropy_manager.cc ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698