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

Unified Diff: net/quic/quic_unacked_packet_map.h

Issue 968513002: Land Recent QUIC Changes until 2/21/2015. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed const from members of TransmissionInfo struct. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_server.h ('k') | net/quic/quic_unacked_packet_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_unacked_packet_map.h
diff --git a/net/quic/quic_unacked_packet_map.h b/net/quic/quic_unacked_packet_map.h
index 77d9093990dd9180fde5a183875170ce0477ab3c..a0a92e65eb7a9bcd34642094ff8d2cb4ed1acc31 100644
--- a/net/quic/quic_unacked_packet_map.h
+++ b/net/quic/quic_unacked_packet_map.h
@@ -76,9 +76,6 @@ class NET_EXPORT_PRIVATE QuicUnackedPacketMap {
// been acked by the peer. If there are no unacked packets, returns 0.
QuicPacketSequenceNumber GetLeastUnacked() const;
- // Restores the in flight status for a packet that was previously sent.
- void RestoreInFlight(QuicPacketSequenceNumber sequence_number);
-
// Clears all previous transmissions in order to make room in the ack frame
// for newly acked packets.
void ClearAllPreviousRetransmissions();
@@ -146,15 +143,11 @@ class NET_EXPORT_PRIVATE QuicUnackedPacketMap {
const TransmissionInfo& info) const;
// Returns true if packet may be useful for congestion control purposes.
- bool IsPacketUsefulForCongestionControl(
- QuicPacketSequenceNumber sequence_number,
- const TransmissionInfo& info) const;
+ bool IsPacketUsefulForCongestionControl(const TransmissionInfo& info) const;
// Returns true if packet may be associated with retransmittable data
// directly or through retransmissions.
- bool IsPacketUsefulForRetransmittableData(
- QuicPacketSequenceNumber sequence_number,
- const TransmissionInfo& info) const;
+ bool IsPacketUsefulForRetransmittableData(const TransmissionInfo& info) const;
// Returns true if the packet no longer has a purpose in the map.
bool IsPacketUseless(QuicPacketSequenceNumber sequence_number,
« no previous file with comments | « net/quic/quic_server.h ('k') | net/quic/quic_unacked_packet_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698