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

Unified Diff: net/quic/quic_ack_notifier.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.h ('k') | net/quic/quic_ack_notifier_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_ack_notifier.cc
diff --git a/net/quic/quic_ack_notifier.cc b/net/quic/quic_ack_notifier.cc
index be9881d479de6f9def9abe6d8c14ed89b0535a94..3bd65e50a355d43ac7ea4c8f35cc4e2bad7c5dfd 100644
--- a/net/quic/quic_ack_notifier.cc
+++ b/net/quic/quic_ack_notifier.cc
@@ -46,7 +46,8 @@ void QuicAckNotifier::AddSequenceNumber(
original_byte_count_ += packet_payload_size;
}
-bool QuicAckNotifier::OnAck(QuicPacketSequenceNumber sequence_number) {
+bool QuicAckNotifier::OnAck(QuicPacketSequenceNumber sequence_number,
+ QuicTime::Delta delta_largest_observed) {
DCHECK(ContainsKey(sequence_numbers_, sequence_number));
sequence_numbers_.erase(sequence_number);
if (IsEmpty()) {
@@ -54,7 +55,8 @@ bool QuicAckNotifier::OnAck(QuicPacketSequenceNumber sequence_number) {
// callback notification.
delegate_->OnAckNotification(
original_packet_count_, original_byte_count_,
- retransmitted_packet_count_, retransmitted_byte_count_);
+ retransmitted_packet_count_, retransmitted_byte_count_,
+ delta_largest_observed);
return true;
}
return false;
« no previous file with comments | « net/quic/quic_ack_notifier.h ('k') | net/quic/quic_ack_notifier_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698