| 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 21 matching lines...) Expand all Loading... |
| 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_METHOD1(UpdateDelayBasedEstimate, void(uint32_t bitrate_bps)); | 38 MOCK_METHOD1(UpdateDelayBasedEstimate, void(uint32_t bitrate_bps)); |
| 39 MOCK_METHOD1(SetEventLog, void(RtcEventLog* event_log)); | 39 MOCK_METHOD1(SetEventLog, void(RtcEventLog* event_log)); |
| 40 MOCK_CONST_METHOD1(AvailableBandwidth, bool(uint32_t* bandwidth)); | 40 MOCK_CONST_METHOD1(AvailableBandwidth, bool(uint32_t* bandwidth)); |
| 41 MOCK_METHOD1(SetReservedBitrate, void(uint32_t reserved_bitrate_bps)); | 41 MOCK_METHOD1(SetReservedBitrate, void(uint32_t reserved_bitrate_bps)); |
| 42 MOCK_METHOD3(GetNetworkParameters, | |
| 43 bool(uint32_t* bitrate, uint8_t* fraction_loss, int64_t* rtt)); | |
| 44 | 42 |
| 45 MOCK_METHOD0(Process, void()); | 43 MOCK_METHOD0(Process, void()); |
| 46 MOCK_METHOD0(TimeUntilNextProcess, int64_t()); | 44 MOCK_METHOD0(TimeUntilNextProcess, int64_t()); |
| 47 }; | 45 }; |
| 48 } // namespace test | 46 } // namespace test |
| 49 } // namespace webrtc | 47 } // namespace webrtc |
| 50 | 48 |
| 51 #endif // WEBRTC_MODULES_BITRATE_CONTROLLER_INCLUDE_MOCK_MOCK_BITRATE_CONTROLLE
R_H_ | 49 #endif // WEBRTC_MODULES_BITRATE_CONTROLLER_INCLUDE_MOCK_MOCK_BITRATE_CONTROLLE
R_H_ |
| OLD | NEW |