| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 int32_t(int8_t& payloadType)); | 220 int32_t(int8_t& payloadType)); |
| 221 MOCK_METHOD2(SetRTPAudioLevelIndicationStatus, | 221 MOCK_METHOD2(SetRTPAudioLevelIndicationStatus, |
| 222 int32_t(const bool enable, const uint8_t ID)); | 222 int32_t(const bool enable, const uint8_t ID)); |
| 223 MOCK_CONST_METHOD2(GetRTPAudioLevelIndicationStatus, | 223 MOCK_CONST_METHOD2(GetRTPAudioLevelIndicationStatus, |
| 224 int32_t(bool& enable, uint8_t& ID)); | 224 int32_t(bool& enable, uint8_t& ID)); |
| 225 MOCK_METHOD1(SetAudioLevel, | 225 MOCK_METHOD1(SetAudioLevel, |
| 226 int32_t(const uint8_t level_dBov)); | 226 int32_t(const uint8_t level_dBov)); |
| 227 MOCK_METHOD1(SetTargetSendBitrate, | 227 MOCK_METHOD1(SetTargetSendBitrate, |
| 228 void(uint32_t bitrate_bps)); | 228 void(uint32_t bitrate_bps)); |
| 229 MOCK_METHOD3(SetGenericFECStatus, | 229 MOCK_METHOD3(SetGenericFECStatus, |
| 230 int32_t(const bool enable, | 230 void(const bool enable, |
| 231 const uint8_t payloadTypeRED, | 231 const uint8_t payload_type_red, |
| 232 const uint8_t payloadTypeFEC)); | 232 const uint8_t payload_type_fec)); |
| 233 MOCK_METHOD3(GenericFECStatus, | 233 MOCK_METHOD3(GenericFECStatus, |
| 234 int32_t(bool& enable, uint8_t& payloadTypeRED, uint8_t& payloadTypeFEC)); | 234 void(bool& enable, |
| 235 uint8_t& payloadTypeRED, |
| 236 uint8_t& payloadTypeFEC)); |
| 235 MOCK_METHOD2(SetFecParameters, | 237 MOCK_METHOD2(SetFecParameters, |
| 236 int32_t(const FecProtectionParams* delta_params, | 238 int32_t(const FecProtectionParams* delta_params, |
| 237 const FecProtectionParams* key_params)); | 239 const FecProtectionParams* key_params)); |
| 238 MOCK_METHOD1(SetKeyFrameRequestMethod, | 240 MOCK_METHOD1(SetKeyFrameRequestMethod, |
| 239 int32_t(const KeyFrameRequestMethod method)); | 241 int32_t(const KeyFrameRequestMethod method)); |
| 240 MOCK_METHOD0(RequestKeyFrame, | 242 MOCK_METHOD0(RequestKeyFrame, |
| 241 int32_t()); | 243 int32_t()); |
| 242 MOCK_CONST_METHOD3(Version, | 244 MOCK_CONST_METHOD3(Version, |
| 243 int32_t(char* version, uint32_t& remaining_buffer_in_bytes, uint32_t& posi
tion)); | 245 int32_t(char* version, uint32_t& remaining_buffer_in_bytes, uint32_t& posi
tion)); |
| 244 MOCK_METHOD0(TimeUntilNextProcess, | 246 MOCK_METHOD0(TimeUntilNextProcess, |
| 245 int64_t()); | 247 int64_t()); |
| 246 MOCK_METHOD0(Process, | 248 MOCK_METHOD0(Process, |
| 247 int32_t()); | 249 int32_t()); |
| 248 MOCK_METHOD1(RegisterSendFrameCountObserver, | 250 MOCK_METHOD1(RegisterSendFrameCountObserver, |
| 249 void(FrameCountObserver*)); | 251 void(FrameCountObserver*)); |
| 250 MOCK_CONST_METHOD0(GetSendFrameCountObserver, | 252 MOCK_CONST_METHOD0(GetSendFrameCountObserver, |
| 251 FrameCountObserver*(void)); | 253 FrameCountObserver*(void)); |
| 252 MOCK_METHOD1(RegisterSendChannelRtpStatisticsCallback, | 254 MOCK_METHOD1(RegisterSendChannelRtpStatisticsCallback, |
| 253 void(StreamDataCountersCallback*)); | 255 void(StreamDataCountersCallback*)); |
| 254 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 256 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
| 255 StreamDataCountersCallback*(void)); | 257 StreamDataCountersCallback*(void)); |
| 256 // Members. | 258 // Members. |
| 257 unsigned int remote_ssrc_; | 259 unsigned int remote_ssrc_; |
| 258 }; | 260 }; |
| 259 | 261 |
| 260 } // namespace webrtc | 262 } // namespace webrtc |
| 261 | 263 |
| 262 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 264 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
| OLD | NEW |