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 |
13 namespace media { | 17 namespace media { |
14 struct MouseCursorShape; | 18 struct MouseCursorShape; |
15 } // namespace media | 19 } // namespace media |
16 | 20 |
17 namespace remoting { | 21 namespace remoting { |
18 | 22 |
19 class DesktopSessionProxy; | 23 class DesktopSessionProxy; |
20 | 24 |
21 // Routes webrtc::ScreenCapturer calls though the IPC channel to the desktop | 25 // Routes webrtc::ScreenCapturer calls though the IPC channel to the desktop |
22 // session agent running in the desktop integration process. | 26 // session agent running in the desktop integration process. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 62 |
59 // Used to cancel tasks pending on the capturer when it is stopped. | 63 // Used to cancel tasks pending on the capturer when it is stopped. |
60 base::WeakPtrFactory<IpcVideoFrameCapturer> weak_factory_; | 64 base::WeakPtrFactory<IpcVideoFrameCapturer> weak_factory_; |
61 | 65 |
62 DISALLOW_COPY_AND_ASSIGN(IpcVideoFrameCapturer); | 66 DISALLOW_COPY_AND_ASSIGN(IpcVideoFrameCapturer); |
63 }; | 67 }; |
64 | 68 |
65 } // namespace remoting | 69 } // namespace remoting |
66 | 70 |
67 #endif // REMOTING_HOST_IPC_VIDEO_FRAME_CAPTURER_H_ | 71 #endif // REMOTING_HOST_IPC_VIDEO_FRAME_CAPTURER_H_ |
OLD | NEW |