| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 int(uint32_t* available_bandwidth)); | 124 int(uint32_t* available_bandwidth)); |
| 125 MOCK_METHOD8(SendOutgoingData, | 125 MOCK_METHOD8(SendOutgoingData, |
| 126 int32_t(const FrameType frameType, | 126 int32_t(const FrameType frameType, |
| 127 const int8_t payloadType, | 127 const int8_t payloadType, |
| 128 const uint32_t timeStamp, | 128 const uint32_t timeStamp, |
| 129 int64_t capture_time_ms, | 129 int64_t capture_time_ms, |
| 130 const uint8_t* payloadData, | 130 const uint8_t* payloadData, |
| 131 const size_t payloadSize, | 131 const size_t payloadSize, |
| 132 const RTPFragmentationHeader* fragmentation, | 132 const RTPFragmentationHeader* fragmentation, |
| 133 const RTPVideoHeader* rtpVideoHdr)); | 133 const RTPVideoHeader* rtpVideoHdr)); |
| 134 MOCK_METHOD4(TimeToSendPacket, | 134 MOCK_METHOD5(TimeToSendPacket, |
| 135 bool(uint32_t ssrc, uint16_t sequence_number, int64_t capture_time_ms, | 135 bool(uint32_t ssrc, |
| 136 bool retransmission)); | 136 uint16_t sequence_number, |
| 137 MOCK_METHOD1(TimeToSendPadding, | 137 int64_t capture_time_ms, |
| 138 size_t(size_t bytes)); | 138 bool retransmission, |
| 139 int probe_cluster_id)); |
| 140 MOCK_METHOD2(TimeToSendPadding, size_t(size_t bytes, int probe_cluster_id)); |
| 139 MOCK_METHOD2(RegisterRtcpObservers, | 141 MOCK_METHOD2(RegisterRtcpObservers, |
| 140 void(RtcpIntraFrameObserver* intraFrameCallback, | 142 void(RtcpIntraFrameObserver* intraFrameCallback, |
| 141 RtcpBandwidthObserver* bandwidthCallback)); | 143 RtcpBandwidthObserver* bandwidthCallback)); |
| 142 MOCK_CONST_METHOD0(RTCP, RtcpMode()); | 144 MOCK_CONST_METHOD0(RTCP, RtcpMode()); |
| 143 MOCK_METHOD1(SetRTCPStatus, void(const RtcpMode method)); | 145 MOCK_METHOD1(SetRTCPStatus, void(const RtcpMode method)); |
| 144 MOCK_METHOD1(SetCNAME, | 146 MOCK_METHOD1(SetCNAME, |
| 145 int32_t(const char cName[RTCP_CNAME_SIZE])); | 147 int32_t(const char cName[RTCP_CNAME_SIZE])); |
| 146 MOCK_CONST_METHOD2(RemoteCNAME, | 148 MOCK_CONST_METHOD2(RemoteCNAME, |
| 147 int32_t(const uint32_t remoteSSRC, | 149 int32_t(const uint32_t remoteSSRC, |
| 148 char cName[RTCP_CNAME_SIZE])); | 150 char cName[RTCP_CNAME_SIZE])); |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 void(StreamDataCountersCallback*)); | 257 void(StreamDataCountersCallback*)); |
| 256 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 258 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
| 257 StreamDataCountersCallback*(void)); | 259 StreamDataCountersCallback*(void)); |
| 258 // Members. | 260 // Members. |
| 259 unsigned int remote_ssrc_; | 261 unsigned int remote_ssrc_; |
| 260 }; | 262 }; |
| 261 | 263 |
| 262 } // namespace webrtc | 264 } // namespace webrtc |
| 263 | 265 |
| 264 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 266 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
| OLD | NEW |