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

Unified Diff: net/quic/quic_received_packet_manager.h

Issue 424003002: Inline the members of QUIC's ReceivedPacketInfo into QuicAckFrame now (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_FixRate_congestion_type_71746617
Patch Set: Created 6 years, 5 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_protocol_test.cc ('k') | net/quic/quic_received_packet_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_received_packet_manager.h
diff --git a/net/quic/quic_received_packet_manager.h b/net/quic/quic_received_packet_manager.h
index 1b283316e33213b1a36e5b0cd72190e0507f0f8c..b63d292e85d1f54d647909cc0cf34ac8786a241c 100644
--- a/net/quic/quic_received_packet_manager.h
+++ b/net/quic/quic_received_packet_manager.h
@@ -115,7 +115,7 @@ class NET_EXPORT_PRIVATE QuicReceivedPacketManager :
bool IsAwaitingPacket(QuicPacketSequenceNumber sequence_number);
// Update the |received_info| for an outgoing ack.
- void UpdateReceivedPacketInfo(ReceivedPacketInfo* received_info,
+ void UpdateReceivedPacketInfo(QuicAckFrame* ack_frame,
QuicTime approximate_now);
// Should be called before sending an ACK packet, to decide if we need
@@ -132,8 +132,7 @@ class NET_EXPORT_PRIVATE QuicReceivedPacketManager :
QuicPacketSequenceNumber sequence_number) const OVERRIDE;
// Updates internal state based on |received_info|.
- void UpdatePacketInformationReceivedByPeer(
- const ReceivedPacketInfo& received_nfo);
+ void UpdatePacketInformationReceivedByPeer(const QuicAckFrame& ack_frame);
// Updates internal state based on |stop_waiting|.
void UpdatePacketInformationSentByPeer(
const QuicStopWaitingFrame& stop_waiting);
@@ -181,7 +180,7 @@ class NET_EXPORT_PRIVATE QuicReceivedPacketManager :
QuicPacketSequenceNumber peer_least_packet_awaiting_ack_;
// Received packet information used to produce acks.
- ReceivedPacketInfo received_info_;
+ QuicAckFrame ack_frame_;
// The time we received the largest_observed sequence number, or zero if
// no sequence numbers have been received since UpdateReceivedPacketInfo.
« no previous file with comments | « net/quic/quic_protocol_test.cc ('k') | net/quic/quic_received_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698