| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 const RTPFragmentationHeader* fragmentation, | 123 const RTPFragmentationHeader* fragmentation, |
| 124 const RTPVideoHeader* rtpVideoHdr)); | 124 const RTPVideoHeader* rtpVideoHdr)); |
| 125 MOCK_METHOD4(TimeToSendPacket, | 125 MOCK_METHOD4(TimeToSendPacket, |
| 126 bool(uint32_t ssrc, uint16_t sequence_number, int64_t capture_time_ms, | 126 bool(uint32_t ssrc, uint16_t sequence_number, int64_t capture_time_ms, |
| 127 bool retransmission)); | 127 bool retransmission)); |
| 128 MOCK_METHOD1(TimeToSendPadding, | 128 MOCK_METHOD1(TimeToSendPadding, |
| 129 size_t(size_t bytes)); | 129 size_t(size_t bytes)); |
| 130 MOCK_METHOD2(RegisterRtcpObservers, | 130 MOCK_METHOD2(RegisterRtcpObservers, |
| 131 void(RtcpIntraFrameObserver* intraFrameCallback, | 131 void(RtcpIntraFrameObserver* intraFrameCallback, |
| 132 RtcpBandwidthObserver* bandwidthCallback)); | 132 RtcpBandwidthObserver* bandwidthCallback)); |
| 133 MOCK_CONST_METHOD0(RTCP, | 133 MOCK_CONST_METHOD0(RTCP, RtcpMode()); |
| 134 RTCPMethod()); | 134 MOCK_METHOD1(SetRTCPStatus, void(const RtcpMode method)); |
| 135 MOCK_METHOD1(SetRTCPStatus, void(const RTCPMethod method)); | |
| 136 MOCK_METHOD1(SetCNAME, | 135 MOCK_METHOD1(SetCNAME, |
| 137 int32_t(const char cName[RTCP_CNAME_SIZE])); | 136 int32_t(const char cName[RTCP_CNAME_SIZE])); |
| 138 MOCK_CONST_METHOD2(RemoteCNAME, | 137 MOCK_CONST_METHOD2(RemoteCNAME, |
| 139 int32_t(const uint32_t remoteSSRC, | 138 int32_t(const uint32_t remoteSSRC, |
| 140 char cName[RTCP_CNAME_SIZE])); | 139 char cName[RTCP_CNAME_SIZE])); |
| 141 MOCK_CONST_METHOD5(RemoteNTP, | 140 MOCK_CONST_METHOD5(RemoteNTP, |
| 142 int32_t(uint32_t *ReceivedNTPsecs, | 141 int32_t(uint32_t *ReceivedNTPsecs, |
| 143 uint32_t *ReceivedNTPfrac, | 142 uint32_t *ReceivedNTPfrac, |
| 144 uint32_t *RTCPArrivalTimeSecs, | 143 uint32_t *RTCPArrivalTimeSecs, |
| 145 uint32_t *RTCPArrivalTimeFrac, | 144 uint32_t *RTCPArrivalTimeFrac, |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 void(StreamDataCountersCallback*)); | 253 void(StreamDataCountersCallback*)); |
| 255 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 254 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
| 256 StreamDataCountersCallback*(void)); | 255 StreamDataCountersCallback*(void)); |
| 257 // Members. | 256 // Members. |
| 258 unsigned int remote_ssrc_; | 257 unsigned int remote_ssrc_; |
| 259 }; | 258 }; |
| 260 | 259 |
| 261 } // namespace webrtc | 260 } // namespace webrtc |
| 262 | 261 |
| 263 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 262 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
| OLD | NEW |