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

Unified Diff: net/quic/reliable_quic_stream.cc

Issue 798873005: Remove unused original transmission stats from QuicAckNotifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@removing_quic_version_21_83551025
Patch Set: Created 5 years, 11 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_crypto_server_stream.cc ('k') | net/quic/reliable_quic_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/reliable_quic_stream.cc
diff --git a/net/quic/reliable_quic_stream.cc b/net/quic/reliable_quic_stream.cc
index 17c487018ff7719e646e6684968967c03d6ae95e..379991e82264e7c006f40fafb3de5b25af9ef9ba 100644
--- a/net/quic/reliable_quic_stream.cc
+++ b/net/quic/reliable_quic_stream.cc
@@ -56,28 +56,20 @@ class ReliableQuicStream::ProxyAckNotifierDelegate
: delegate_(delegate),
pending_acks_(0),
wrote_last_data_(false),
- num_original_packets_(0),
- num_original_bytes_(0),
num_retransmitted_packets_(0),
num_retransmitted_bytes_(0) {
}
- void OnAckNotification(int num_original_packets,
- int num_original_bytes,
- int num_retransmitted_packets,
+ void OnAckNotification(int num_retransmitted_packets,
int num_retransmitted_bytes,
QuicTime::Delta delta_largest_observed) override {
DCHECK_LT(0, pending_acks_);
--pending_acks_;
- num_original_packets_ += num_original_packets;
- num_original_bytes_ += num_original_bytes;
num_retransmitted_packets_ += num_retransmitted_packets;
num_retransmitted_bytes_ += num_retransmitted_bytes;
if (wrote_last_data_ && pending_acks_ == 0) {
- delegate_->OnAckNotification(num_original_packets_,
- num_original_bytes_,
- num_retransmitted_packets_,
+ delegate_->OnAckNotification(num_retransmitted_packets_,
num_retransmitted_bytes_,
delta_largest_observed);
}
« no previous file with comments | « net/quic/quic_crypto_server_stream.cc ('k') | net/quic/reliable_quic_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698