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 |
11 #ifndef WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 11 #ifndef WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
12 #define WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 12 #define WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
13 | 13 |
14 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
15 | 15 |
16 #include "webrtc/modules/interface/module.h" | 16 #include "webrtc/modules/include/module.h" |
17 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h" | 17 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" |
18 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h" | 18 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
19 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" | 19 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" |
20 | 20 |
21 namespace webrtc { | 21 namespace webrtc { |
22 | 22 |
23 class MockRtpData : public RtpData { | 23 class MockRtpData : public RtpData { |
24 public: | 24 public: |
25 MOCK_METHOD3(OnReceivedPayloadData, | 25 MOCK_METHOD3(OnReceivedPayloadData, |
26 int32_t(const uint8_t* payloadData, | 26 int32_t(const uint8_t* payloadData, |
27 const size_t payloadSize, | 27 const size_t payloadSize, |
28 const WebRtcRTPHeader* rtpHeader)); | 28 const WebRtcRTPHeader* rtpHeader)); |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 void(StreamDataCountersCallback*)); | 253 void(StreamDataCountersCallback*)); |
254 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 254 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
255 StreamDataCountersCallback*(void)); | 255 StreamDataCountersCallback*(void)); |
256 // Members. | 256 // Members. |
257 unsigned int remote_ssrc_; | 257 unsigned int remote_ssrc_; |
258 }; | 258 }; |
259 | 259 |
260 } // namespace webrtc | 260 } // namespace webrtc |
261 | 261 |
262 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 262 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
OLD | NEW |