| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |