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

Side by Side Diff: webrtc/modules/video_coding/codecs/interface/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
14 #pragma message("WARNING: video_coding/codecs/interface is DEPRECATED; use video _coding/include")
13 15
14 #include <string> 16 #include <string>
15 17
16 #include "testing/gmock/include/gmock/gmock.h" 18 #include "testing/gmock/include/gmock/gmock.h"
17 #include "webrtc/modules/video_coding/codecs/interface/video_codec_interface.h" 19 #include "webrtc/modules/video_coding/include/video_codec_interface.h"
18 #include "webrtc/typedefs.h" 20 #include "webrtc/typedefs.h"
19 21
20 namespace webrtc { 22 namespace webrtc {
21 23
22 class MockEncodedImageCallback : public EncodedImageCallback { 24 class MockEncodedImageCallback : public EncodedImageCallback {
23 public: 25 public:
24 MOCK_METHOD3(Encoded, int32_t(const EncodedImage& encodedImage, 26 MOCK_METHOD3(Encoded, int32_t(const EncodedImage& encodedImage,
25 const CodecSpecificInfo* codecSpecificInfo, 27 const CodecSpecificInfo* codecSpecificInfo,
26 const RTPFragmentationHeader* fragmentation)); 28 const RTPFragmentationHeader* fragmentation));
27 }; 29 };
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 int64_t renderTimeMs)); 69 int64_t renderTimeMs));
68 MOCK_METHOD1(RegisterDecodeCompleteCallback, 70 MOCK_METHOD1(RegisterDecodeCompleteCallback,
69 int32_t(DecodedImageCallback* callback)); 71 int32_t(DecodedImageCallback* callback));
70 MOCK_METHOD0(Release, int32_t()); 72 MOCK_METHOD0(Release, int32_t());
71 MOCK_METHOD0(Reset, int32_t()); 73 MOCK_METHOD0(Reset, int32_t());
72 MOCK_METHOD0(Copy, VideoDecoder*()); 74 MOCK_METHOD0(Copy, VideoDecoder*());
73 }; 75 };
74 76
75 } // namespace webrtc 77 } // namespace webrtc
76 78
77 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_MOCK_MOCK_VIDEO_CODEC_IN TERFACE_H_ 79 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_MOCK_MOCK_VIDEO_CODEC_INTERFACE_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698