Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: device/capture/content/screen_capture_device_core.h

Issue 2214533002: move //media/capture to //device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MEDIA_CAPTURE_CONTENT_SCREEN_CAPTURE_DEVICE_CORE_H_ 5 #ifndef DEVICE_CAPTURE_CONTENT_SCREEN_CAPTURE_DEVICE_CORE_H_
6 #define MEDIA_CAPTURE_CONTENT_SCREEN_CAPTURE_DEVICE_CORE_H_ 6 #define DEVICE_CAPTURE_CONTENT_SCREEN_CAPTURE_DEVICE_CORE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/threading/thread_checker.h" 13 #include "base/threading/thread_checker.h"
14 #include "media/capture/capture_export.h" 14 #include "device/capture/capture_export.h"
15 #include "media/capture/content/thread_safe_capture_oracle.h" 15 #include "device/capture/content/thread_safe_capture_oracle.h"
16 #include "media/capture/video/video_capture_device.h" 16 #include "device/capture/video/video_capture_device.h"
17
18 namespace media {
19 struct VideoCaptureParams;
20 } // namespace media
17 21
18 namespace tracked_objects { 22 namespace tracked_objects {
19 class Location; 23 class Location;
20 } // namespace tracked_objects 24 } // namespace tracked_objects
21 25
22 namespace media { 26 namespace device {
23
24 struct VideoCaptureParams;
25 27
26 class ThreadSafeCaptureOracle; 28 class ThreadSafeCaptureOracle;
27 29
28 // Keeps track of the video capture source frames and executes copying. 30 // Keeps track of the video capture source frames and executes copying.
29 class CAPTURE_EXPORT VideoCaptureMachine { 31 class CAPTURE_EXPORT VideoCaptureMachine {
30 public: 32 public:
31 VideoCaptureMachine(); 33 VideoCaptureMachine();
32 virtual ~VideoCaptureMachine(); 34 virtual ~VideoCaptureMachine();
33 35
34 // Starts capturing. 36 // Starts capturing.
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 std::unique_ptr<VideoCaptureMachine> capture_machine_; 112 std::unique_ptr<VideoCaptureMachine> capture_machine_;
111 113
112 // Our thread-safe capture oracle which serves as the gateway to the video 114 // Our thread-safe capture oracle which serves as the gateway to the video
113 // capture pipeline. Besides the VideoCaptureDevice itself, it is the only 115 // capture pipeline. Besides the VideoCaptureDevice itself, it is the only
114 // component of the system with direct access to |client_|. 116 // component of the system with direct access to |client_|.
115 scoped_refptr<ThreadSafeCaptureOracle> oracle_proxy_; 117 scoped_refptr<ThreadSafeCaptureOracle> oracle_proxy_;
116 118
117 DISALLOW_COPY_AND_ASSIGN(ScreenCaptureDeviceCore); 119 DISALLOW_COPY_AND_ASSIGN(ScreenCaptureDeviceCore);
118 }; 120 };
119 121
120 } // namespace media 122 } // namespace device
121 123
122 #endif // MEDIA_CAPTURE_CONTENT_SCREEN_CAPTURE_DEVICE_CORE_H_ 124 #endif // DEVICE_CAPTURE_CONTENT_SCREEN_CAPTURE_DEVICE_CORE_H_
OLDNEW
« no previous file with comments | « device/capture/content/capture_resolution_chooser_unittest.cc ('k') | device/capture/content/screen_capture_device_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698