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

Unified Diff: net/quic/congestion_control/fix_rate_sender.h

Issue 12806002: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor comment fix Created 7 years, 9 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/net.gyp ('k') | net/quic/congestion_control/fix_rate_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/fix_rate_sender.h
diff --git a/net/quic/congestion_control/fix_rate_sender.h b/net/quic/congestion_control/fix_rate_sender.h
index d47462a27cfe1b38e368238c39adac581afe163a..e81981a0dc0a859f9a626096c789e522df1ae181 100644
--- a/net/quic/congestion_control/fix_rate_sender.h
+++ b/net/quic/congestion_control/fix_rate_sender.h
@@ -19,9 +19,9 @@
namespace net {
class NET_EXPORT_PRIVATE FixRateSender : public SendAlgorithmInterface {
-
public:
explicit FixRateSender(const QuicClock* clock);
+ virtual ~FixRateSender();
// Start implementation of SendAlgorithmInterface.
virtual void OnIncomingQuicCongestionFeedbackFrame(
@@ -36,11 +36,14 @@ class NET_EXPORT_PRIVATE FixRateSender : public SendAlgorithmInterface {
virtual void SentPacket(QuicTime sent_time,
QuicPacketSequenceNumber equence_number,
QuicByteCount bytes,
- bool is_retransmission,
- bool has_retransmittable_data) OVERRIDE;
+ bool is_retransmission) OVERRIDE;
+ virtual void AbandoningPacket(QuicPacketSequenceNumber sequence_number,
+ QuicByteCount abandoned_bytes) OVERRIDE;
virtual QuicTime::Delta TimeUntilSend(QuicTime now,
- bool is_retransmission) OVERRIDE;
+ bool is_retransmission,
+ bool has_retransmittable_data) OVERRIDE;
virtual QuicBandwidth BandwidthEstimate() OVERRIDE;
+ virtual QuicTime::Delta SmoothedRtt() OVERRIDE;
// End implementation of SendAlgorithmInterface.
private:
@@ -50,6 +53,7 @@ class NET_EXPORT_PRIVATE FixRateSender : public SendAlgorithmInterface {
LeakyBucket fix_rate_leaky_bucket_;
PacedSender paced_sender_;
QuicByteCount data_in_flight_;
+ QuicTime::Delta latest_rtt_;
DISALLOW_COPY_AND_ASSIGN(FixRateSender);
};
« no previous file with comments | « net/net.gyp ('k') | net/quic/congestion_control/fix_rate_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698