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 15 matching lines...) Loading... |
26 public: | 26 public: |
27 MOCK_METHOD2(ResendPackets, | 27 MOCK_METHOD2(ResendPackets, |
28 int32_t(const uint16_t* sequenceNumbers, uint16_t length)); | 28 int32_t(const uint16_t* sequenceNumbers, uint16_t length)); |
29 }; | 29 }; |
30 | 30 |
31 class MockVCMReceiveCallback : public VCMReceiveCallback { | 31 class MockVCMReceiveCallback : public VCMReceiveCallback { |
32 public: | 32 public: |
33 MockVCMReceiveCallback() {} | 33 MockVCMReceiveCallback() {} |
34 virtual ~MockVCMReceiveCallback() {} | 34 virtual ~MockVCMReceiveCallback() {} |
35 | 35 |
36 MOCK_METHOD2(FrameToRender, int32_t(VideoFrame&, rtc::Optional<uint8_t>)); | 36 MOCK_METHOD3(FrameToRender, |
| 37 int32_t(VideoFrame&, rtc::Optional<uint8_t>, VideoContentType)); |
37 MOCK_METHOD1(ReceivedDecodedReferenceFrame, int32_t(const uint64_t)); | 38 MOCK_METHOD1(ReceivedDecodedReferenceFrame, int32_t(const uint64_t)); |
38 MOCK_METHOD1(OnIncomingPayloadType, void(int)); | 39 MOCK_METHOD1(OnIncomingPayloadType, void(int)); |
39 MOCK_METHOD1(OnDecoderImplementationName, void(const char*)); | 40 MOCK_METHOD1(OnDecoderImplementationName, void(const char*)); |
40 }; | 41 }; |
41 | 42 |
42 } // namespace webrtc | 43 } // namespace webrtc |
43 | 44 |
44 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_MOCK_MOCK_VCM_CALLBACKS_H_ | 45 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_MOCK_MOCK_VCM_CALLBACKS_H_ |
OLD | NEW |