OLD | NEW |
---|---|
(Empty) | |
1 /* | |
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | |
3 * | |
4 * Use of this source code is governed by a BSD-style license | |
5 * that can be found in the LICENSE file in the root of the source | |
6 * tree. An additional intellectual property rights grant can be found | |
7 * in the file PATENTS. All contributing project authors may | |
8 * be found in the AUTHORS file in the root of the source tree. | |
9 * | |
10 */ | |
11 | |
12 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_MIN_RTT_FILTER_H _ | |
13 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_MIN_RTT_FILTER_H _ | |
14 | |
15 #include <climits> | |
16 #include <map> | |
17 #include <memory> | |
18 #include <utility> | |
19 #include <vector> | |
20 | |
21 #include "webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h" | |
22 #include "webrtc/modules/remote_bitrate_estimator/include/send_time_history.h" | |
23 #include "webrtc/modules/remote_bitrate_estimator/test/bwe.h" | |
24 | |
25 namespace webrtc { | |
26 namespace testing { | |
27 namespace bwe { | |
28 class MinRttFilter { | |
29 public: | |
30 MinRttFilter(); | |
31 ~MinRttFilter(); | |
32 int64_t min_rtt(); | |
33 void UpdateMinRtt(int64_t min_rtt); | |
34 // Checks whether or last discovered min_rtt value | |
stefan-webrtc
2017/06/02 12:08:34
Empty line before each comment in the class declar
gnish1
2017/06/02 12:26:52
Done.
| |
35 // is older than x seconds. | |
36 bool MinRttExpired(int64_t now); | |
37 void set_min_rtt_discovery_time(int64_t discovery_time); | |
38 }; | |
39 } // namespace bwe | |
40 } // namespace testing | |
41 } // namespace webrtc | |
42 | |
43 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_MIN_RTT_FILTE R_H_ | |
OLD | NEW |