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

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

Issue 2878233002: media: add ArcCamera3Service Mojo service (Closed)
Patch Set: rebase on latest patch set of issue 2837273004 Created 3 years, 6 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> 21 scoped_refptr<base::SingleThreadTaskRunner>
(...skipping 27 matching lines...) Expand all
48 // that |camera_hal_delegate_| issues and receives must be sequenced through 49 // that |camera_hal_delegate_| issues and receives must be sequenced through
49 // |camera_hal_ipc_thread_|. 50 // |camera_hal_ipc_thread_|.
50 scoped_refptr<CameraHalDelegate> camera_hal_delegate_; 51 scoped_refptr<CameraHalDelegate> camera_hal_delegate_;
51 52
52 DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceFactoryChromeOS); 53 DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceFactoryChromeOS);
53 }; 54 };
54 55
55 } // namespace media 56 } // namespace media
56 57
57 #endif // MEDIA_CAPTURE_VIDEO_CHROMEOS_VIDEO_CAPTURE_DEVICE_FACTORY_CHROMEOS_H_ 58 #endif // MEDIA_CAPTURE_VIDEO_CHROMEOS_VIDEO_CAPTURE_DEVICE_FACTORY_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698