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

Side by Side Diff: media/capture/video/chromeos/video_capture_device_factory_chromeos.h

Issue 2878233002: media: add ArcCamera3Service Mojo service (Closed)
Patch Set: Created 3 years, 7 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_VIDEO_CHROMEOS_VIDEO_CAPTURE_DEVICE_FACTORY_CHROMEOS_H_ 5 #ifndef MEDIA_CAPTURE_VIDEO_CHROMEOS_VIDEO_CAPTURE_DEVICE_FACTORY_CHROMEOS_H_
6 #define MEDIA_CAPTURE_VIDEO_CHROMEOS_VIDEO_CAPTURE_DEVICE_FACTORY_CHROMEOS_H_ 6 #define MEDIA_CAPTURE_VIDEO_CHROMEOS_VIDEO_CAPTURE_DEVICE_FACTORY_CHROMEOS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "media/capture/video/chromeos/arc_camera3_service.h"
11 #include "media/capture/video/chromeos/camera_hal_delegate.h" 12 #include "media/capture/video/chromeos/camera_hal_delegate.h"
12 #include "media/capture/video/video_capture_device_factory.h" 13 #include "media/capture/video/video_capture_device_factory.h"
13 14
14 namespace media { 15 namespace media {
15 16
16 class CAPTURE_EXPORT VideoCaptureDeviceFactoryChromeOS final 17 class CAPTURE_EXPORT VideoCaptureDeviceFactoryChromeOS final
17 : public VideoCaptureDeviceFactory { 18 : public VideoCaptureDeviceFactory {
18 public: 19 public:
19 explicit VideoCaptureDeviceFactoryChromeOS( 20 explicit VideoCaptureDeviceFactoryChromeOS(
20 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); 21 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
(...skipping 26 matching lines...) Expand all
47 // instantiated. All the Mojo communication that |camera_hal_delegate_| 48 // instantiated. All the Mojo communication that |camera_hal_delegate_|
48 // issues and receives must be sequenced through |module_thread_|. 49 // issues and receives must be sequenced through |module_thread_|.
49 scoped_refptr<CameraHalDelegate> camera_hal_delegate_; 50 scoped_refptr<CameraHalDelegate> camera_hal_delegate_;
50 51
51 DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceFactoryChromeOS); 52 DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceFactoryChromeOS);
52 }; 53 };
53 54
54 } // namespace media 55 } // namespace media
55 56
56 #endif // MEDIA_CAPTURE_VIDEO_CHROMEOS_VIDEO_CAPTURE_DEVICE_FACTORY_CHROMEOS_H_ 57 #endif // MEDIA_CAPTURE_VIDEO_CHROMEOS_VIDEO_CAPTURE_DEVICE_FACTORY_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698