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

Unified Diff: remoting/host/host_mock_objects.h

Issue 11470028: Move screen capturers to remoting/capturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/host/differ_unittest.cc ('k') | remoting/host/host_mock_objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_mock_objects.h
diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h
index 6c24bd2868a499f162d7a1a44ec5183c06337830..87652e8d13023a3e413c23627b8abc150e56d487 100644
--- a/remoting/host/host_mock_objects.h
+++ b/remoting/host/host_mock_objects.h
@@ -6,8 +6,6 @@
#define REMOTING_HOST_HOST_MOCK_OBJECTS_H_
#include "net/base/ip_endpoint.h"
-#include "remoting/base/capture_data.h"
-#include "remoting/host/video_frame_capturer.h"
#include "remoting/host/chromoting_host_context.h"
#include "remoting/host/client_session.h"
#include "remoting/host/continue_window.h"
@@ -23,37 +21,6 @@
namespace remoting {
-class MockVideoFrameCapturer : public VideoFrameCapturer {
- public:
- MockVideoFrameCapturer();
- virtual ~MockVideoFrameCapturer();
-
- MOCK_METHOD1(Start, void(Delegate* delegate));
- MOCK_METHOD0(Stop, void());
- MOCK_CONST_METHOD0(pixel_format, media::VideoFrame::Format());
- MOCK_METHOD1(InvalidateRegion, void(const SkRegion& invalid_region));
- MOCK_METHOD0(CaptureFrame, void());
- MOCK_CONST_METHOD0(size_most_recent, const SkISize&());
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockVideoFrameCapturer);
-};
-
-class MockVideoFrameCapturerDelegate : public VideoFrameCapturer::Delegate {
- public:
- MockVideoFrameCapturerDelegate();
- virtual ~MockVideoFrameCapturerDelegate();
-
- virtual void OnCursorShapeChanged(
- scoped_ptr<protocol::CursorShapeInfo> cursor_shape) OVERRIDE;
-
- MOCK_METHOD1(OnCaptureCompleted, void(scoped_refptr<CaptureData>));
- MOCK_METHOD1(OnCursorShapeChangedPtr, void(protocol::CursorShapeInfo*));
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockVideoFrameCapturerDelegate);
-};
-
class MockDisconnectWindow : public DisconnectWindow {
public:
MockDisconnectWindow();
« no previous file with comments | « remoting/host/differ_unittest.cc ('k') | remoting/host/host_mock_objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698