OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CONTENT_BROWSER_MEDIA_CAPTURE_DESKTOP_CAPTURE_DEVICE_H_ | 5 #ifndef CONTENT_BROWSER_MEDIA_CAPTURE_DESKTOP_CAPTURE_DEVICE_H_ |
6 #define CONTENT_BROWSER_MEDIA_CAPTURE_DESKTOP_CAPTURE_DEVICE_H_ | 6 #define CONTENT_BROWSER_MEDIA_CAPTURE_DESKTOP_CAPTURE_DEVICE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 #include "content/public/browser/desktop_media_id.h" | 14 #include "content/public/browser/desktop_media_id.h" |
15 #include "media/capture/video/video_capture_device.h" | 15 #include "media/capture/video/video_capture_device.h" |
16 #include "ui/gfx/native_widget_types.h" | 16 #include "ui/gfx/native_widget_types.h" |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class SingleThreadTaskRunner; | |
20 class Thread; | 19 class Thread; |
21 } // namespace base | 20 } // namespace base |
22 | 21 |
23 namespace webrtc { | 22 namespace webrtc { |
24 class DesktopCapturer; | 23 class DesktopCapturer; |
25 } // namespace webrtc | 24 } // namespace webrtc |
26 | 25 |
27 namespace content { | 26 namespace content { |
28 | 27 |
29 // DesktopCaptureDevice implements VideoCaptureDevice for screens and windows. | 28 // DesktopCaptureDevice implements VideoCaptureDevice for screens and windows. |
(...skipping 27 matching lines...) Expand all Loading... |
57 | 56 |
58 base::Thread thread_; | 57 base::Thread thread_; |
59 std::unique_ptr<Core> core_; | 58 std::unique_ptr<Core> core_; |
60 | 59 |
61 DISALLOW_COPY_AND_ASSIGN(DesktopCaptureDevice); | 60 DISALLOW_COPY_AND_ASSIGN(DesktopCaptureDevice); |
62 }; | 61 }; |
63 | 62 |
64 } // namespace content | 63 } // namespace content |
65 | 64 |
66 #endif // CONTENT_BROWSER_MEDIA_CAPTURE_DESKTOP_CAPTURE_DEVICE_H_ | 65 #endif // CONTENT_BROWSER_MEDIA_CAPTURE_DESKTOP_CAPTURE_DEVICE_H_ |
OLD | NEW |