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 |
(...skipping 20 matching lines...) Expand all Loading... |
31 MOCK_METHOD1(SetStartBitrate, void(int start_bitrate_bps)); | 31 MOCK_METHOD1(SetStartBitrate, void(int start_bitrate_bps)); |
32 MOCK_METHOD2(SetMinMaxBitrate, | 32 MOCK_METHOD2(SetMinMaxBitrate, |
33 void(int min_bitrate_bps, int max_bitrate_bps)); | 33 void(int min_bitrate_bps, int max_bitrate_bps)); |
34 MOCK_METHOD3(SetBitrates, | 34 MOCK_METHOD3(SetBitrates, |
35 void(int start_bitrate_bps, | 35 void(int start_bitrate_bps, |
36 int min_bitrate_bps, | 36 int min_bitrate_bps, |
37 int max_bitrate_bps)); | 37 int max_bitrate_bps)); |
38 MOCK_METHOD3(ResetBitrates, | 38 MOCK_METHOD3(ResetBitrates, |
39 void(int bitrate_bps, int min_bitrate_bps, int max_bitrate_bps)); | 39 void(int bitrate_bps, int min_bitrate_bps, int max_bitrate_bps)); |
40 MOCK_METHOD1(UpdateDelayBasedEstimate, void(uint32_t bitrate_bps)); | 40 MOCK_METHOD1(UpdateDelayBasedEstimate, void(uint32_t bitrate_bps)); |
| 41 MOCK_METHOD1(UpdateProbeBitrate, void(uint32_t bitrate_bps)); |
41 MOCK_METHOD1(SetEventLog, void(RtcEventLog* event_log)); | 42 MOCK_METHOD1(SetEventLog, void(RtcEventLog* event_log)); |
42 MOCK_CONST_METHOD1(AvailableBandwidth, bool(uint32_t* bandwidth)); | 43 MOCK_CONST_METHOD1(AvailableBandwidth, bool(uint32_t* bandwidth)); |
43 MOCK_METHOD1(SetReservedBitrate, void(uint32_t reserved_bitrate_bps)); | 44 MOCK_METHOD1(SetReservedBitrate, void(uint32_t reserved_bitrate_bps)); |
44 MOCK_METHOD3(GetNetworkParameters, | 45 MOCK_METHOD3(GetNetworkParameters, |
45 bool(uint32_t* bitrate, uint8_t* fraction_loss, int64_t* rtt)); | 46 bool(uint32_t* bitrate, uint8_t* fraction_loss, int64_t* rtt)); |
46 | 47 |
47 MOCK_METHOD0(Process, void()); | 48 MOCK_METHOD0(Process, void()); |
48 MOCK_METHOD0(TimeUntilNextProcess, int64_t()); | 49 MOCK_METHOD0(TimeUntilNextProcess, int64_t()); |
49 }; | 50 }; |
50 } // namespace test | 51 } // namespace test |
51 } // namespace webrtc | 52 } // namespace webrtc |
52 | 53 |
53 #endif // WEBRTC_MODULES_BITRATE_CONTROLLER_INCLUDE_MOCK_MOCK_BITRATE_CONTROLLE
R_H_ | 54 #endif // WEBRTC_MODULES_BITRATE_CONTROLLER_INCLUDE_MOCK_MOCK_BITRATE_CONTROLLE
R_H_ |
OLD | NEW |