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

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

Issue 188333003: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compilation error - added NET_EXPORT_PRIVATE to QuicFixedUint32 Created 6 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
Index: net/quic/congestion_control/inter_arrival_sender.h
diff --git a/net/quic/congestion_control/inter_arrival_sender.h b/net/quic/congestion_control/inter_arrival_sender.h
index 1501b5a1e39c0398bd8930a81264a61299d7085a..2de370d7293da95d464f1d00db3d313681a968db 100644
--- a/net/quic/congestion_control/inter_arrival_sender.h
+++ b/net/quic/congestion_control/inter_arrival_sender.h
@@ -24,7 +24,7 @@ namespace net {
class NET_EXPORT_PRIVATE InterArrivalSender : public SendAlgorithmInterface {
public:
- explicit InterArrivalSender(const QuicClock* clock);
+ InterArrivalSender(const QuicClock* clock, const RttStats* rtt_stats);
virtual ~InterArrivalSender();
// Start implementation of SendAlgorithmInterface.
@@ -52,7 +52,6 @@ class NET_EXPORT_PRIVATE InterArrivalSender : public SendAlgorithmInterface {
IsHandshake handshake) OVERRIDE;
virtual QuicBandwidth BandwidthEstimate() const OVERRIDE;
virtual void UpdateRtt(QuicTime::Delta rtt_sample) OVERRIDE;
- virtual QuicTime::Delta SmoothedRtt() const OVERRIDE;
virtual QuicTime::Delta RetransmissionDelay() const OVERRIDE;
virtual QuicByteCount GetCongestionWindow() const OVERRIDE;
// End implementation of SendAlgorithmInterface.
@@ -95,6 +94,7 @@ class NET_EXPORT_PRIVATE InterArrivalSender : public SendAlgorithmInterface {
SentPacketsMap packet_history_map_;
const QuicClock* clock_;
+ const RttStats* rtt_stats_;
bool probing_; // Are we currently in the probing phase?
QuicByteCount max_segment_size_;
QuicBandwidth current_bandwidth_;
« no previous file with comments | « net/quic/congestion_control/inter_arrival_probe.cc ('k') | net/quic/congestion_control/inter_arrival_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698