Index: remoting/capturer/video_frame_capturer.h |
diff --git a/remoting/host/video_frame_capturer.h b/remoting/capturer/video_frame_capturer.h |
similarity index 92% |
rename from remoting/host/video_frame_capturer.h |
rename to remoting/capturer/video_frame_capturer.h |
index ba8a5c7e5aec9d0a0ee9d1b54156d731b1afe761..4e33bbfe3bc768560a7ca0a8c6eaadfe73b80ca9 100644 |
--- a/remoting/host/video_frame_capturer.h |
+++ b/remoting/capturer/video_frame_capturer.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef REMOTING_HOST_VIDEO_FRAME_CAPTURER_H_ |
-#define REMOTING_HOST_VIDEO_FRAME_CAPTURER_H_ |
+#ifndef REMOTING_CAPTURER_VIDEO_FRAME_CAPTURER_H_ |
+#define REMOTING_CAPTURER_VIDEO_FRAME_CAPTURER_H_ |
#include "base/basictypes.h" |
#include "base/callback.h" |
@@ -13,11 +13,8 @@ |
namespace remoting { |
-namespace protocol { |
-class CursorShapeInfo; |
-} |
- |
class CaptureData; |
+struct MouseCursorShape; |
class SharedBufferFactory; |
// Class used to capture video frames asynchronously. |
@@ -64,8 +61,8 @@ class VideoFrameCapturer { |
scoped_refptr<CaptureData> capture_data) = 0; |
// Called when the cursor shape has changed. |
- virtual void OnCursorShapeChanged( |
- scoped_ptr<protocol::CursorShapeInfo> cursor_shape) = 0; |
+ // TODO(sergeyu): Move cursor shape capturing to a separate class. |
+ virtual void OnCursorShapeChanged(const MouseCursorShape& cursor_shape) = 0; |
}; |
virtual ~VideoFrameCapturer() {} |
@@ -120,4 +117,4 @@ class VideoFrameCapturer { |
} // namespace remoting |
-#endif // REMOTING_HOST_VIDEO_FRAME_CAPTURER_H_ |
+#endif // REMOTING_CAPTURER_VIDEO_FRAME_CAPTURER_H_ |