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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 MOCK_CONST_METHOD0(NACK, | 205 MOCK_CONST_METHOD0(NACK, |
206 NACKMethod()); | 206 NACKMethod()); |
207 MOCK_METHOD2(SetNACKStatus, | 207 MOCK_METHOD2(SetNACKStatus, |
208 int32_t(const NACKMethod method, int oldestSequenceNumberToNack)); | 208 int32_t(const NACKMethod method, int oldestSequenceNumberToNack)); |
209 MOCK_CONST_METHOD0(SelectiveRetransmissions, | 209 MOCK_CONST_METHOD0(SelectiveRetransmissions, |
210 int()); | 210 int()); |
211 MOCK_METHOD1(SetSelectiveRetransmissions, | 211 MOCK_METHOD1(SetSelectiveRetransmissions, |
212 int(uint8_t settings)); | 212 int(uint8_t settings)); |
213 MOCK_METHOD2(SendNACK, | 213 MOCK_METHOD2(SendNACK, |
214 int32_t(const uint16_t* nackList, const uint16_t size)); | 214 int32_t(const uint16_t* nackList, const uint16_t size)); |
| 215 MOCK_METHOD1(SendNack, void(const std::vector<uint16_t>& sequence_numbers)); |
215 MOCK_METHOD2(SetStorePacketsStatus, | 216 MOCK_METHOD2(SetStorePacketsStatus, |
216 void(const bool enable, const uint16_t numberToStore)); | 217 void(const bool enable, const uint16_t numberToStore)); |
217 MOCK_CONST_METHOD0(StorePackets, bool()); | 218 MOCK_CONST_METHOD0(StorePackets, bool()); |
218 MOCK_METHOD1(RegisterRtcpStatisticsCallback, void(RtcpStatisticsCallback*)); | 219 MOCK_METHOD1(RegisterRtcpStatisticsCallback, void(RtcpStatisticsCallback*)); |
219 MOCK_METHOD0(GetRtcpStatisticsCallback, RtcpStatisticsCallback*()); | 220 MOCK_METHOD0(GetRtcpStatisticsCallback, RtcpStatisticsCallback*()); |
220 MOCK_METHOD1(SendFeedbackPacket, bool(const rtcp::TransportFeedback& packet)); | 221 MOCK_METHOD1(SendFeedbackPacket, bool(const rtcp::TransportFeedback& packet)); |
221 MOCK_METHOD1(RegisterAudioCallback, | 222 MOCK_METHOD1(RegisterAudioCallback, |
222 int32_t(RtpAudioFeedback* messagesCallback)); | 223 int32_t(RtpAudioFeedback* messagesCallback)); |
223 MOCK_METHOD1(SetAudioPacketSize, | 224 MOCK_METHOD1(SetAudioPacketSize, |
224 int32_t(const uint16_t packetSizeSamples)); | 225 int32_t(const uint16_t packetSizeSamples)); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 void(StreamDataCountersCallback*)); | 261 void(StreamDataCountersCallback*)); |
261 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 262 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
262 StreamDataCountersCallback*(void)); | 263 StreamDataCountersCallback*(void)); |
263 // Members. | 264 // Members. |
264 unsigned int remote_ssrc_; | 265 unsigned int remote_ssrc_; |
265 }; | 266 }; |
266 | 267 |
267 } // namespace webrtc | 268 } // namespace webrtc |
268 | 269 |
269 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 270 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
OLD | NEW |