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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 MOCK_METHOD1(SendRTCPReferencePictureSelection, | 160 MOCK_METHOD1(SendRTCPReferencePictureSelection, |
161 int32_t(const uint64_t pictureID)); | 161 int32_t(const uint64_t pictureID)); |
162 MOCK_METHOD1(SendRTCPSliceLossIndication, | 162 MOCK_METHOD1(SendRTCPSliceLossIndication, |
163 int32_t(const uint8_t pictureID)); | 163 int32_t(const uint8_t pictureID)); |
164 MOCK_METHOD0(ResetSendDataCountersRTP, | 164 MOCK_METHOD0(ResetSendDataCountersRTP, |
165 int32_t()); | 165 int32_t()); |
166 MOCK_CONST_METHOD2(DataCountersRTP, | 166 MOCK_CONST_METHOD2(DataCountersRTP, |
167 int32_t(size_t *bytesSent, uint32_t *packetsSent)); | 167 int32_t(size_t *bytesSent, uint32_t *packetsSent)); |
168 MOCK_CONST_METHOD2(GetSendStreamDataCounters, | 168 MOCK_CONST_METHOD2(GetSendStreamDataCounters, |
169 void(StreamDataCounters*, StreamDataCounters*)); | 169 void(StreamDataCounters*, StreamDataCounters*)); |
| 170 MOCK_CONST_METHOD3(GetRtpPacketLossStats, |
| 171 void(bool, uint32_t, struct RtpPacketLossStats*)); |
170 MOCK_METHOD1(RemoteRTCPStat, | 172 MOCK_METHOD1(RemoteRTCPStat, |
171 int32_t(RTCPSenderInfo* senderInfo)); | 173 int32_t(RTCPSenderInfo* senderInfo)); |
172 MOCK_CONST_METHOD1(RemoteRTCPStat, | 174 MOCK_CONST_METHOD1(RemoteRTCPStat, |
173 int32_t(std::vector<RTCPReportBlock>* receiveBlocks)); | 175 int32_t(std::vector<RTCPReportBlock>* receiveBlocks)); |
174 MOCK_METHOD4(SetRTCPApplicationSpecificData, | 176 MOCK_METHOD4(SetRTCPApplicationSpecificData, |
175 int32_t(const uint8_t subType, const uint32_t name, const uint8_t* data, c
onst uint16_t length)); | 177 int32_t(const uint8_t subType, const uint32_t name, const uint8_t* data, c
onst uint16_t length)); |
176 MOCK_METHOD1(SetRTCPVoIPMetrics, | 178 MOCK_METHOD1(SetRTCPVoIPMetrics, |
177 int32_t(const RTCPVoIPMetric* VoIPMetric)); | 179 int32_t(const RTCPVoIPMetric* VoIPMetric)); |
178 MOCK_METHOD1(SetRtcpXrRrtrStatus, | 180 MOCK_METHOD1(SetRtcpXrRrtrStatus, |
179 void(bool enable)); | 181 void(bool enable)); |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |