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

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

Issue 2358993004: Enable the -Wundef warning for clang (Closed)
Patch Set: rebase Created 4 years, 2 months 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_INCLUDE_MOCK_MOCK_VIDEO_CODEC_INTERFACE_H_ 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_INCLUDE_MOCK_MOCK_VIDEO_CODEC_INTERFACE_H_
12 #define WEBRTC_MODULES_VIDEO_CODING_INCLUDE_MOCK_MOCK_VIDEO_CODEC_INTERFACE_H_ 12 #define WEBRTC_MODULES_VIDEO_CODING_INCLUDE_MOCK_MOCK_VIDEO_CODEC_INTERFACE_H_
13 13
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "testing/gmock/include/gmock/gmock.h" 17 #include "webrtc/test/gmock.h"
18 #include "webrtc/modules/video_coding/include/video_codec_interface.h" 18 #include "webrtc/modules/video_coding/include/video_codec_interface.h"
19 #include "webrtc/typedefs.h" 19 #include "webrtc/typedefs.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 22
23 class MockEncodedImageCallback : public EncodedImageCallback { 23 class MockEncodedImageCallback : public EncodedImageCallback {
24 public: 24 public:
25 MOCK_METHOD3(OnEncodedImage, 25 MOCK_METHOD3(OnEncodedImage,
26 Result(const EncodedImage& encodedImage, 26 Result(const EncodedImage& encodedImage,
27 const CodecSpecificInfo* codecSpecificInfo, 27 const CodecSpecificInfo* codecSpecificInfo,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 int64_t renderTimeMs)); 71 int64_t renderTimeMs));
72 MOCK_METHOD1(RegisterDecodeCompleteCallback, 72 MOCK_METHOD1(RegisterDecodeCompleteCallback,
73 int32_t(DecodedImageCallback* callback)); 73 int32_t(DecodedImageCallback* callback));
74 MOCK_METHOD0(Release, int32_t()); 74 MOCK_METHOD0(Release, int32_t());
75 MOCK_METHOD0(Copy, VideoDecoder*()); 75 MOCK_METHOD0(Copy, VideoDecoder*());
76 }; 76 };
77 77
78 } // namespace webrtc 78 } // namespace webrtc
79 79
80 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_MOCK_MOCK_VIDEO_CODEC_INTERFACE_H _ 80 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_MOCK_MOCK_VIDEO_CODEC_INTERFACE_H _
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/include/mock/mock_vcm_callbacks.h ('k') | webrtc/modules/video_coding/jitter_buffer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698