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

Unified Diff: webrtc/modules/video_capture/include/mock/mock_video_capture.h

Issue 1403783002: Remove MockVideoCapturer (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/video/video_capture_input_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_capture/include/mock/mock_video_capture.h
diff --git a/webrtc/modules/video_capture/include/mock/mock_video_capture.h b/webrtc/modules/video_capture/include/mock/mock_video_capture.h
deleted file mode 100644
index c030c02aee3f6e19e04ad93d77e101b62c06ca24..0000000000000000000000000000000000000000
--- a/webrtc/modules/video_capture/include/mock/mock_video_capture.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-#ifndef WEBRTC_MODULES_VIDEO_CAPTURE_INCLUDE_MOCK_MOCK_VIDEO_CAPTURE_H_
-#define WEBRTC_MODULES_VIDEO_CAPTURE_INCLUDE_MOCK_MOCK_VIDEO_CAPTURE_H_
-
-#include "webrtc/modules/video_capture/include/video_capture.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace webrtc {
-
-class MockVideoCaptureModule : public VideoCaptureModule {
- public:
- // from Module
- MOCK_METHOD0(TimeUntilNextProcess, int64_t());
- MOCK_METHOD0(Process, int32_t());
-
- // from RefCountedModule
- MOCK_CONST_METHOD0(AddRef, int32_t());
- MOCK_CONST_METHOD0(Release, int32_t());
-
- // from VideoCaptureModule
- MOCK_METHOD1(RegisterCaptureDataCallback,
- void(VideoCaptureDataCallback& dataCallback));
- MOCK_METHOD0(DeRegisterCaptureDataCallback, void());
- MOCK_METHOD1(RegisterCaptureCallback, void(VideoCaptureFeedBack& callBack));
- MOCK_METHOD0(DeRegisterCaptureCallback, void());
- MOCK_METHOD1(StartCapture, int32_t(const VideoCaptureCapability& capability));
- MOCK_METHOD0(StopCapture, int32_t());
- MOCK_CONST_METHOD0(CurrentDeviceName, const char*());
- MOCK_METHOD0(CaptureStarted, bool());
- MOCK_METHOD1(CaptureSettings, int32_t(VideoCaptureCapability& settings));
- MOCK_METHOD1(SetCaptureDelay, void(int32_t delayMS));
- MOCK_METHOD0(CaptureDelay, int32_t());
- MOCK_METHOD1(SetCaptureRotation, int32_t(VideoRotation rotation));
- MOCK_METHOD1(SetApplyRotation, bool(bool));
- MOCK_METHOD0(GetApplyRotation, bool());
- MOCK_METHOD1(GetEncodeInterface,
- VideoCaptureEncodeInterface*(const VideoCodec& codec));
- MOCK_METHOD1(EnableFrameRateCallback, void(const bool enable));
- MOCK_METHOD1(EnableNoPictureAlarm, void(const bool enable));
-};
-
-} // namespace webrtc
-
-#endif // WEBRTC_MODULES_VIDEO_CAPTURE_INCLUDE_MOCK_MOCK_VIDEO_CAPTURE_H_
« no previous file with comments | « no previous file | webrtc/video/video_capture_input_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698