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

Unified Diff: net/quic/quic_ack_notifier_manager.cc

Issue 867293004: Rename QuicAckNotifier's AddSequenceNumber to OnSerializedPacket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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_ack_notifier.cc ('k') | net/quic/quic_ack_notifier_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_ack_notifier_manager.cc
diff --git a/net/quic/quic_ack_notifier_manager.cc b/net/quic/quic_ack_notifier_manager.cc
index 0d37752e211ab130f4ffcb9243ecf486e8f9ec1d..613ba4c01ab3739a10fb990ab03646df9bd53ac6 100644
--- a/net/quic/quic_ack_notifier_manager.cc
+++ b/net/quic/quic_ack_notifier_manager.cc
@@ -81,8 +81,7 @@ void AckNotifierManager::OnSerializedPacket(
LOG(DFATAL) << "AckNotifier should not be nullptr.";
continue;
}
- notifier->AddSequenceNumber(serialized_packet.sequence_number,
- serialized_packet.packet->length());
+ notifier->OnSerializedPacket();
// Update the mapping in the other direction, from sequence number to
// AckNotifier.
@@ -107,8 +106,7 @@ void AckNotifierManager::OnSerializedPacket(
}
QuicAckNotifier* notifier = quic_frame.stream_frame->notifier;
- notifier->AddSequenceNumber(serialized_packet.sequence_number,
- serialized_packet.packet->length());
+ notifier->OnSerializedPacket();
// Update the mapping in the other direction, from sequence number to
// AckNotifier.
« no previous file with comments | « net/quic/quic_ack_notifier.cc ('k') | net/quic/quic_ack_notifier_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698