Index: net/quic/congestion_control/tcp_cubic_sender.cc |
diff --git a/net/quic/congestion_control/tcp_cubic_sender.cc b/net/quic/congestion_control/tcp_cubic_sender.cc |
index 95fa6cccc3be38795477a0e957dcb612c5f97b41..bef8906d412b4b1a219d5dda959c96beefd5a0a9 100644 |
--- a/net/quic/congestion_control/tcp_cubic_sender.cc |
+++ b/net/quic/congestion_control/tcp_cubic_sender.cc |
@@ -213,6 +213,10 @@ QuicByteCount TcpCubicSender::GetCongestionWindow() const { |
return congestion_window_ * kMaxSegmentSize; |
} |
+QuicByteCount TcpCubicSender::GetSlowStartThreshold() const { |
+ return slowstart_threshold_ * kMaxSegmentSize; |
+} |
+ |
bool TcpCubicSender::IsCwndLimited(QuicByteCount bytes_in_flight) const { |
const QuicByteCount congestion_window_bytes = congestion_window_ * |
kMaxSegmentSize; |