Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h

Issue 1417283007: modules/video_coding refactorings (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix the other copy of the mock include header Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_VIDEO_CODING_CODECS_INTERFACE_MOCK_MOCK_VIDEO_CODEC_INTER FACE_H_ 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_INCLUDE_MOCK_MOCK_VIDEO_CODEC_INTERFACE_H_
12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_MOCK_MOCK_VIDEO_CODEC_INTER FACE_H_ 12 #define WEBRTC_MODULES_VIDEO_CODING_INCLUDE_MOCK_MOCK_VIDEO_CODEC_INTERFACE_H_
13 13
14 #include <string> 14 #include <string>
15 15
16 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
17 #include "webrtc/modules/video_coding/codecs/interface/video_codec_interface.h" 17 #include "webrtc/modules/video_coding/include/video_codec_interface.h"
18 #include "webrtc/typedefs.h" 18 #include "webrtc/typedefs.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 21
22 class MockEncodedImageCallback : public EncodedImageCallback { 22 class MockEncodedImageCallback : public EncodedImageCallback {
23 public: 23 public:
24 MOCK_METHOD3(Encoded, int32_t(const EncodedImage& encodedImage, 24 MOCK_METHOD3(Encoded, int32_t(const EncodedImage& encodedImage,
25 const CodecSpecificInfo* codecSpecificInfo, 25 const CodecSpecificInfo* codecSpecificInfo,
26 const RTPFragmentationHeader* fragmentation)); 26 const RTPFragmentationHeader* fragmentation));
27 }; 27 };
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 int64_t renderTimeMs)); 67 int64_t renderTimeMs));
68 MOCK_METHOD1(RegisterDecodeCompleteCallback, 68 MOCK_METHOD1(RegisterDecodeCompleteCallback,
69 int32_t(DecodedImageCallback* callback)); 69 int32_t(DecodedImageCallback* callback));
70 MOCK_METHOD0(Release, int32_t()); 70 MOCK_METHOD0(Release, int32_t());
71 MOCK_METHOD0(Reset, int32_t()); 71 MOCK_METHOD0(Reset, int32_t());
72 MOCK_METHOD0(Copy, VideoDecoder*()); 72 MOCK_METHOD0(Copy, VideoDecoder*());
73 }; 73 };
74 74
75 } // namespace webrtc 75 } // namespace webrtc
76 76
77 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_MOCK_MOCK_VIDEO_CODEC_IN TERFACE_H_ 77 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_MOCK_MOCK_VIDEO_CODEC_INTERFACE_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698