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

Unified Diff: net/quic/quic_received_packet_manager.cc

Issue 908673002: Remove QUIC's ReceiveAlgorithmInterface now that it does nothing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Fixing_a_bug_0_85554888
Patch Set: 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_received_packet_manager.h ('k') | net/quic/quic_server.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 f45a6ba510bd9690a3ab17ffe0d57ce60d808ed3..f5e2c36e8838fb9a9531035cf12969d451c474ba 100644
--- a/net/quic/quic_received_packet_manager.cc
+++ b/net/quic/quic_received_packet_manager.cc
@@ -135,7 +135,6 @@ AdvanceFirstGapAndGarbageCollectEntropyMap() {
QuicReceivedPacketManager::QuicReceivedPacketManager(QuicConnectionStats* stats)
: peer_least_packet_awaiting_ack_(0),
time_largest_observed_(QuicTime::Zero()),
- receive_algorithm_(ReceiveAlgorithmInterface::Create()),
stats_(stats) {
ack_frame_.largest_observed = 0;
ack_frame_.entropy_hash = 0;
@@ -178,9 +177,6 @@ void QuicReceivedPacketManager::RecordPacketReceived(
entropy_tracker_.RecordPacketEntropyHash(sequence_number,
header.entropy_hash);
- receive_algorithm_->RecordIncomingPacket(
- bytes, sequence_number, receipt_time);
-
received_packet_times_.push_back(
std::make_pair(sequence_number, receipt_time));
« no previous file with comments | « net/quic/quic_received_packet_manager.h ('k') | net/quic/quic_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698