summaryrefslogtreecommitdiff
path: root/chromium/net/quic/core/congestion_control/tcp_cubic_sender_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/quic/core/congestion_control/tcp_cubic_sender_base.h')
-rw-r--r--chromium/net/quic/core/congestion_control/tcp_cubic_sender_base.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/chromium/net/quic/core/congestion_control/tcp_cubic_sender_base.h b/chromium/net/quic/core/congestion_control/tcp_cubic_sender_base.h
index 2488bf2536c..e60f782ab64 100644
--- a/chromium/net/quic/core/congestion_control/tcp_cubic_sender_base.h
+++ b/chromium/net/quic/core/congestion_control/tcp_cubic_sender_base.h
@@ -45,14 +45,13 @@ class QUIC_EXPORT_PRIVATE TcpCubicSenderBase : public SendAlgorithmInterface {
// Start implementation of SendAlgorithmInterface.
void SetFromConfig(const QuicConfig& config,
Perspective perspective) override;
- void ResumeConnectionState(
- const CachedNetworkParameters& cached_network_params,
- bool max_bandwidth_resumption) override;
+ void AdjustNetworkParameters(QuicBandwidth bandwidth,
+ QuicTime::Delta rtt) override;
void SetNumEmulatedConnections(int num_connections) override;
void OnCongestionEvent(bool rtt_updated,
QuicByteCount prior_in_flight,
QuicTime event_time,
- const CongestionVector& acked_packets,
+ const AckedPacketVector& acked_packets,
const CongestionVector& lost_packets) override;
bool OnPacketSent(QuicTime sent_time,
QuicByteCount bytes_in_flight,
@@ -67,6 +66,7 @@ class QUIC_EXPORT_PRIVATE TcpCubicSenderBase : public SendAlgorithmInterface {
QuicBandwidth BandwidthEstimate() const override;
bool InSlowStart() const override;
bool InRecovery() const override;
+ bool IsProbingForMoreBandwidth() const override;
std::string GetDebugState() const override;
void OnApplicationLimited(QuicByteCount bytes_in_flight) override;
@@ -148,9 +148,6 @@ class QUIC_EXPORT_PRIVATE TcpCubicSenderBase : public SendAlgorithmInterface {
// When true, exit slow start with large cutback of congestion window.
bool slow_start_large_reduction_;
- // When true, use rate based sending instead of only sending if there's CWND.
- bool rate_based_sending_;
-
// When true, use unity pacing instead of PRR.
bool no_prr_;