summaryrefslogtreecommitdiffstats
path: root/remoting/host/video_scheduler.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 21:42:12 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 21:42:12 +0000
commit420a5e4ab23188ab8458c659b331da1d580f6dd7 (patch)
treeccdd9a8f74998b335ea8a96da6e26a633633e9c6 /remoting/host/video_scheduler.h
parent4051754026b9163d6fbbfb329bba3a03a333617c (diff)
downloadchromium_src-420a5e4ab23188ab8458c659b331da1d580f6dd7.zip
chromium_src-420a5e4ab23188ab8458c659b331da1d580f6dd7.tar.gz
chromium_src-420a5e4ab23188ab8458c659b331da1d580f6dd7.tar.bz2
Move screen capturers to remoting/capturer.
Separating screen capturer code from the rest of remoting code so that it can be reused for screen capturing in WebRTC. Also added struct MouseCursorShape to avoid protobuf dependency. BUG=134249 Review URL: https://codereview.chromium.org/11470028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173789 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/video_scheduler.h')
-rw-r--r--remoting/host/video_scheduler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/remoting/host/video_scheduler.h b/remoting/host/video_scheduler.h
index 8671530..92b72f6 100644
--- a/remoting/host/video_scheduler.h
+++ b/remoting/host/video_scheduler.h
@@ -13,9 +13,9 @@
#include "base/memory/scoped_ptr.h"
#include "base/time.h"
#include "base/timer.h"
+#include "remoting/capturer/video_frame_capturer.h"
#include "remoting/codec/video_encoder.h"
#include "remoting/host/capture_scheduler.h"
-#include "remoting/host/video_frame_capturer.h"
#include "remoting/proto/video.pb.h"
namespace base {
@@ -25,6 +25,7 @@ class SingleThreadTaskRunner;
namespace remoting {
class CaptureData;
+class CursorShapeInfo;
class VideoFrameCapturer;
namespace protocol {
@@ -90,7 +91,7 @@ class VideoScheduler : public base::RefCountedThreadSafe<VideoScheduler>,
virtual void OnCaptureCompleted(
scoped_refptr<CaptureData> capture_data) OVERRIDE;
virtual void OnCursorShapeChanged(
- scoped_ptr<protocol::CursorShapeInfo> cursor_shape) OVERRIDE;
+ scoped_ptr<MouseCursorShape> cursor_shape) OVERRIDE;
// Stop scheduling frame captures. |done_task| is executed on the network
// thread when capturing has stopped. This object cannot be re-used once