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

Unified Diff: net/quic/quic_sent_packet_manager.h

Issue 491663003: Remove largest_observed_ from QuicSentPacketManager, since it's also in (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Optimize_EntropyTracker_73709652
Patch Set: Created 6 years, 4 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 | « no previous file | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_sent_packet_manager.h
diff --git a/net/quic/quic_sent_packet_manager.h b/net/quic/quic_sent_packet_manager.h
index 8b7bcbd58f236c7741de23f31282bfb56220d4bd..342dd3d4653144005b9ad3ae86db254a8ba58c10 100644
--- a/net/quic/quic_sent_packet_manager.h
+++ b/net/quic/quic_sent_packet_manager.h
@@ -223,7 +223,7 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
}
QuicPacketSequenceNumber largest_observed() const {
- return largest_observed_;
+ return unacked_packets_.largest_observed();
}
QuicPacketSequenceNumber least_packet_awaited_by_peer() {
@@ -358,10 +358,6 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
scoped_ptr<SendAlgorithmInterface> send_algorithm_;
scoped_ptr<LossDetectionInterface> loss_algorithm_;
- // The largest sequence number which we have sent and received an ACK for
- // from the peer.
- QuicPacketSequenceNumber largest_observed_;
-
// Least sequence number which the peer is still waiting for.
QuicPacketSequenceNumber least_packet_awaited_by_peer_;
« no previous file with comments | « no previous file | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698