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

Unified Diff: net/quic/quic_received_packet_manager.cc

Issue 1787443002: Remove lastest_revived_packet from QuicAckFrame since FEC is gone. No functional change expected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116391846
Patch Set: Removed revived packet from QuicConnectionLogger Created 4 years, 9 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.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_received_packet_manager.cc
diff --git a/net/quic/quic_received_packet_manager.cc b/net/quic/quic_received_packet_manager.cc
index 807944441976a53ce53f2d0069e24f514d435e9a..aa3c9fd4f9408b8e3a8d60e990e67487911d5dc8 100644
--- a/net/quic/quic_received_packet_manager.cc
+++ b/net/quic/quic_received_packet_manager.cc
@@ -178,10 +178,6 @@ void QuicReceivedPacketManager::RecordPacketReceived(
ack_frame_.received_packet_times.push_back(
std::make_pair(packet_number, receipt_time));
-
- if (ack_frame_.latest_revived_packet == packet_number) {
- ack_frame_.latest_revived_packet = 0;
- }
}
bool QuicReceivedPacketManager::IsMissing(QuicPacketNumber packet_number) {
@@ -251,9 +247,6 @@ QuicPacketEntropyHash QuicReceivedPacketManager::EntropyHash(
bool QuicReceivedPacketManager::DontWaitForPacketsBefore(
QuicPacketNumber least_unacked) {
- if (ack_frame_.latest_revived_packet < least_unacked) {
- ack_frame_.latest_revived_packet = 0;
- }
return ack_frame_.missing_packets.RemoveUpTo(least_unacked);
}
« 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