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

Unified Diff: remoting/capturer/video_capturer_mock_objects.h

Issue 12047101: Move screen capturers from remoting/capturer to media/video/capturer/screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « remoting/capturer/shared_buffer_unittest.cc ('k') | remoting/capturer/video_capturer_mock_objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/capturer/video_capturer_mock_objects.h
diff --git a/remoting/capturer/video_capturer_mock_objects.h b/remoting/capturer/video_capturer_mock_objects.h
deleted file mode 100644
index f460c1f00f39e2bfaf405bcb74a6b2778f645c99..0000000000000000000000000000000000000000
--- a/remoting/capturer/video_capturer_mock_objects.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef REMOTING_CAPTURER_VIDEO_CAPTURER_MOCK_OBJECTS_H_
-#define REMOTING_CAPTURER_VIDEO_CAPTURER_MOCK_OBJECTS_H_
-
-#include "remoting/capturer/capture_data.h"
-#include "remoting/capturer/mouse_cursor_shape.h"
-#include "remoting/capturer/video_frame_capturer.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace remoting {
-
-class MockVideoFrameCapturer : public VideoFrameCapturer {
- public:
- MockVideoFrameCapturer();
- virtual ~MockVideoFrameCapturer();
-
- MOCK_METHOD1(Start, void(Delegate* delegate));
- MOCK_METHOD0(Stop, void());
- MOCK_METHOD1(InvalidateRegion, void(const SkRegion& invalid_region));
- MOCK_METHOD0(CaptureFrame, void());
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockVideoFrameCapturer);
-};
-
-class MockVideoFrameCapturerDelegate : public VideoFrameCapturer::Delegate {
- public:
- MockVideoFrameCapturerDelegate();
- virtual ~MockVideoFrameCapturerDelegate();
-
- void OnCursorShapeChanged(scoped_ptr<MouseCursorShape> cursor_shape) OVERRIDE;
-
- MOCK_METHOD1(OnCaptureCompleted, void(scoped_refptr<CaptureData>));
- MOCK_METHOD1(OnCursorShapeChangedPtr,
- void(MouseCursorShape* cursor_shape));
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockVideoFrameCapturerDelegate);
-};
-
-} // namespace remoting
-
-#endif // REMOTING_CAPTURER_VIDEO_CAPTURER_MOCK_OBJECTS_H_
« no previous file with comments | « remoting/capturer/shared_buffer_unittest.cc ('k') | remoting/capturer/video_capturer_mock_objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698