OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_HOST_IPC_VIDEO_FRAME_CAPTURER_H_ | 5 #ifndef REMOTING_HOST_IPC_VIDEO_FRAME_CAPTURER_H_ |
6 #define REMOTING_HOST_IPC_VIDEO_FRAME_CAPTURER_H_ | 6 #define REMOTING_HOST_IPC_VIDEO_FRAME_CAPTURER_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "third_party/webrtc/modules/desktop_capture/screen_capturer.h" | 11 #include "third_party/webrtc/modules/desktop_capture/screen_capturer.h" |
12 | 12 |
13 namespace IPC { | |
14 class Message; | |
15 } // namespace IPC | |
16 | |
17 namespace media { | 13 namespace media { |
18 struct MouseCursorShape; | 14 struct MouseCursorShape; |
19 } // namespace media | 15 } // namespace media |
20 | 16 |
21 namespace remoting { | 17 namespace remoting { |
22 | 18 |
23 class DesktopSessionProxy; | 19 class DesktopSessionProxy; |
24 | 20 |
25 // Routes webrtc::ScreenCapturer calls though the IPC channel to the desktop | 21 // Routes webrtc::ScreenCapturer calls though the IPC channel to the desktop |
26 // session agent running in the desktop integration process. | 22 // session agent running in the desktop integration process. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 58 |
63 // Used to cancel tasks pending on the capturer when it is stopped. | 59 // Used to cancel tasks pending on the capturer when it is stopped. |
64 base::WeakPtrFactory<IpcVideoFrameCapturer> weak_factory_; | 60 base::WeakPtrFactory<IpcVideoFrameCapturer> weak_factory_; |
65 | 61 |
66 DISALLOW_COPY_AND_ASSIGN(IpcVideoFrameCapturer); | 62 DISALLOW_COPY_AND_ASSIGN(IpcVideoFrameCapturer); |
67 }; | 63 }; |
68 | 64 |
69 } // namespace remoting | 65 } // namespace remoting |
70 | 66 |
71 #endif // REMOTING_HOST_IPC_VIDEO_FRAME_CAPTURER_H_ | 67 #endif // REMOTING_HOST_IPC_VIDEO_FRAME_CAPTURER_H_ |
OLD | NEW |