OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_H_ | 11 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_H_ |
12 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_H_ | 12 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_H_ |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 #include <map> | 15 #include <map> |
16 #include <sstream> | 16 #include <sstream> |
17 #include <string> | 17 #include <string> |
18 | 18 |
| 19 #include "webrtc/base/constructormagic.h" |
| 20 #include "webrtc/base/gtest_prod_util.h" |
| 21 #include "webrtc/modules/remote_bitrate_estimator/test/packet.h" |
19 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" | 22 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" |
20 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h" | 23 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h" |
21 #include "webrtc/modules/remote_bitrate_estimator/test/packet.h" | |
22 #include "webrtc/rtc_base/constructormagic.h" | |
23 #include "webrtc/rtc_base/gtest_prod_util.h" | |
24 | 24 |
25 namespace webrtc { | 25 namespace webrtc { |
26 namespace testing { | 26 namespace testing { |
27 namespace bwe { | 27 namespace bwe { |
28 | 28 |
29 // Overload map comparator. | 29 // Overload map comparator. |
30 class SequenceNumberOlderThan { | 30 class SequenceNumberOlderThan { |
31 public: | 31 public: |
32 bool operator()(uint16_t seq_num_1, uint16_t seq_num_2) const { | 32 bool operator()(uint16_t seq_num_1, uint16_t seq_num_2) const { |
33 return IsNewerSequenceNumber(seq_num_2, seq_num_1); | 33 return IsNewerSequenceNumber(seq_num_2, seq_num_1); |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 BitrateObserver* observer, | 190 BitrateObserver* observer, |
191 Clock* clock); | 191 Clock* clock); |
192 | 192 |
193 BweReceiver* CreateBweReceiver(BandwidthEstimatorType type, | 193 BweReceiver* CreateBweReceiver(BandwidthEstimatorType type, |
194 int flow_id, | 194 int flow_id, |
195 bool plot); | 195 bool plot); |
196 } // namespace bwe | 196 } // namespace bwe |
197 } // namespace testing | 197 } // namespace testing |
198 } // namespace webrtc | 198 } // namespace webrtc |
199 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_H_ | 199 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_H_ |
OLD | NEW |