| Index: webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.h
|
| diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.h b/webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.h
|
| index 4fc1a125481e562a48dc9f32fdd005c3b9bfe078..b9b2300d1934c55b80db60234aa97172fe070362 100644
|
| --- a/webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.h
|
| +++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.h
|
| @@ -14,19 +14,25 @@
|
|
|
| #include "webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.h"
|
|
|
| +#include "webrtc/rtc_base/optional.h"
|
| +
|
| namespace webrtc {
|
| namespace testing {
|
| namespace bwe {
|
| class CongestionWindow {
|
| public:
|
| + // Size of congestion window while in PROBE_RTT mode, suggested by BBR's
|
| + // source code of QUIC's implementation.
|
| + static const int kMinimumCongestionWindowBytes = 4000;
|
| +
|
| CongestionWindow();
|
| ~CongestionWindow();
|
| int GetCongestionWindow(BbrBweSender::Mode mode,
|
| int64_t bandwidth_estimate,
|
| - int64_t min_rtt,
|
| + rtc::Optional<int64_t> min_rtt,
|
| float gain);
|
| int GetTargetCongestionWindow(int64_t bandwidth_estimate,
|
| - int64_t min_rtt,
|
| + rtc::Optional<int64_t> min_rtt,
|
| float gain);
|
| // Packet sent from sender, meaning it is inflight until we receive it and we
|
| // should add packet's size to data_inflight.
|
|
|