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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 bool()); | 195 bool()); |
196 MOCK_METHOD1(SetREMBStatus, void(const bool enable)); | 196 MOCK_METHOD1(SetREMBStatus, void(const bool enable)); |
197 MOCK_METHOD2(SetREMBData, | 197 MOCK_METHOD2(SetREMBData, |
198 void(const uint32_t bitrate, | 198 void(const uint32_t bitrate, |
199 const std::vector<uint32_t>& ssrcs)); | 199 const std::vector<uint32_t>& ssrcs)); |
200 MOCK_CONST_METHOD0(TMMBR, | 200 MOCK_CONST_METHOD0(TMMBR, |
201 bool()); | 201 bool()); |
202 MOCK_METHOD1(SetTMMBRStatus, void(const bool enable)); | 202 MOCK_METHOD1(SetTMMBRStatus, void(const bool enable)); |
203 MOCK_METHOD1(OnBandwidthEstimateUpdate, | 203 MOCK_METHOD1(OnBandwidthEstimateUpdate, |
204 void(uint16_t bandWidthKbit)); | 204 void(uint16_t bandWidthKbit)); |
205 MOCK_CONST_METHOD0(NACK, | |
206 NACKMethod()); | |
207 MOCK_METHOD2(SetNACKStatus, | |
208 int32_t(const NACKMethod method, int oldestSequenceNumberToNack)); | |
209 MOCK_CONST_METHOD0(SelectiveRetransmissions, | 205 MOCK_CONST_METHOD0(SelectiveRetransmissions, |
210 int()); | 206 int()); |
211 MOCK_METHOD1(SetSelectiveRetransmissions, | 207 MOCK_METHOD1(SetSelectiveRetransmissions, |
212 int(uint8_t settings)); | 208 int(uint8_t settings)); |
213 MOCK_METHOD2(SendNACK, | 209 MOCK_METHOD2(SendNACK, |
214 int32_t(const uint16_t* nackList, const uint16_t size)); | 210 int32_t(const uint16_t* nackList, const uint16_t size)); |
215 MOCK_METHOD1(SendNack, void(const std::vector<uint16_t>& sequence_numbers)); | 211 MOCK_METHOD1(SendNack, void(const std::vector<uint16_t>& sequence_numbers)); |
216 MOCK_METHOD2(SetStorePacketsStatus, | 212 MOCK_METHOD2(SetStorePacketsStatus, |
217 void(const bool enable, const uint16_t numberToStore)); | 213 void(const bool enable, const uint16_t numberToStore)); |
218 MOCK_CONST_METHOD0(StorePackets, bool()); | 214 MOCK_CONST_METHOD0(StorePackets, bool()); |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 void(StreamDataCountersCallback*)); | 255 void(StreamDataCountersCallback*)); |
260 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 256 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
261 StreamDataCountersCallback*(void)); | 257 StreamDataCountersCallback*(void)); |
262 // Members. | 258 // Members. |
263 unsigned int remote_ssrc_; | 259 unsigned int remote_ssrc_; |
264 }; | 260 }; |
265 | 261 |
266 } // namespace webrtc | 262 } // namespace webrtc |
267 | 263 |
268 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 264 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
OLD | NEW |