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

Unified Diff: net/quic/quic_ack_notifier_manager.cc

Issue 242593002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix. Use uint32 instead of int Created 6 years, 8 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_manager.h ('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 0dd8a76be2ee82a901f94393314f69ac3dcc8d7c..70cb927a86d1d56c06112d534acce53819db1bbb 100644
--- a/net/quic/quic_ack_notifier_manager.cc
+++ b/net/quic/quic_ack_notifier_manager.cc
@@ -23,7 +23,8 @@ AckNotifierManager::~AckNotifierManager() {
}
void AckNotifierManager::OnPacketAcked(
- QuicPacketSequenceNumber sequence_number) {
+ QuicPacketSequenceNumber sequence_number,
+ QuicTime::Delta delta_largest_observed) {
// Inform all the registered AckNotifiers of the new ACK.
AckNotifierMap::iterator map_it = ack_notifier_map_.find(sequence_number);
if (map_it == ack_notifier_map_.end()) {
@@ -36,7 +37,7 @@ void AckNotifierManager::OnPacketAcked(
for (AckNotifierSet::iterator set_it = map_it->second.begin();
set_it != map_it->second.end(); ++set_it) {
QuicAckNotifier* ack_notifier = *set_it;
- ack_notifier->OnAck(sequence_number);
+ ack_notifier->OnAck(sequence_number, delta_largest_observed);
// If this has resulted in an empty AckNotifer, erase it.
if (ack_notifier->IsEmpty()) {
« no previous file with comments | « net/quic/quic_ack_notifier_manager.h ('k') | net/quic/quic_ack_notifier_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698