OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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_VIDEO_CODING_CODECS_TEST_MOCK_MOCK_PACKET_MANIPULATOR_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_MOCK_MOCK_PACKET_MANIPULATOR_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_MOCK_MOCK_PACKET_MANIPULATOR_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_MOCK_MOCK_PACKET_MANIPULATOR_H_ |
13 | 13 |
14 #include "webrtc/modules/video_coding/codecs/test/packet_manipulator.h" | |
15 | |
16 #include <string> | 14 #include <string> |
17 | 15 |
| 16 #include "webrtc/modules/video_coding/codecs/test/packet_manipulator.h" |
18 #include "webrtc/test/gmock.h" | 17 #include "webrtc/test/gmock.h" |
19 #include "webrtc/typedefs.h" | 18 #include "webrtc/typedefs.h" |
20 #include "webrtc/video_frame.h" | 19 #include "webrtc/video_frame.h" |
21 | 20 |
22 namespace webrtc { | 21 namespace webrtc { |
23 namespace test { | 22 namespace test { |
24 | 23 |
25 class MockPacketManipulator : public PacketManipulator { | 24 class MockPacketManipulator : public PacketManipulator { |
26 public: | 25 public: |
27 MOCK_METHOD1(ManipulatePackets, int(webrtc::EncodedImage* encoded_image)); | 26 MOCK_METHOD1(ManipulatePackets, int(webrtc::EncodedImage* encoded_image)); |
28 }; | 27 }; |
29 | 28 |
30 } // namespace test | 29 } // namespace test |
31 } // namespace webrtc | 30 } // namespace webrtc |
32 | 31 |
33 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_MOCK_MOCK_PACKET_MANIPULATOR_
H_ | 32 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_MOCK_MOCK_PACKET_MANIPULATOR_
H_ |
OLD | NEW |