Index: webrtc/modules/remote_bitrate_estimator/test/estimators/min_rtt_filter.h |
diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/min_rtt_filter.h b/webrtc/modules/remote_bitrate_estimator/test/estimators/min_rtt_filter.h |
index f41a4f0dad57ef9426094c4f51305649fa372e87..e74e04f58f83dbde876db6c0617a8aee5e4bda20 100644 |
--- a/webrtc/modules/remote_bitrate_estimator/test/estimators/min_rtt_filter.h |
+++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/min_rtt_filter.h |
@@ -12,6 +12,8 @@ |
#ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_MIN_RTT_FILTER_H_ |
#define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_MIN_RTT_FILTER_H_ |
+#include <cstdint> |
+ |
namespace webrtc { |
namespace testing { |
namespace bwe { |
@@ -19,13 +21,21 @@ class MinRttFilter { |
public: |
MinRttFilter(); |
~MinRttFilter(); |
- int64_t min_rtt(); |
+ int64_t min_rtt() { return min_rtt_; } |
philipel
2017/07/06 12:15:16
Add newline between line 23 24.
gnish1
2017/07/07 13:43:34
Done.
|
void UpdateMinRtt(int64_t min_rtt); |
+ void set_discovery_time(int64_t discovery_time) { |
+ discovery_time_ = discovery_time; |
+ } |
+ int64_t discovery_time() { return discovery_time_; } |
// Checks whether or not last discovered min_rtt value is older than x |
// seconds. |
bool MinRttExpired(int64_t now); |
void set_min_rtt_discovery_time(int64_t discovery_time); |
+ |
+ private: |
+ int64_t min_rtt_; |
+ int64_t discovery_time_; |
}; |
} // namespace bwe |
} // namespace testing |