Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "base/logging.h" | 5 #include "base/logging.h" |
| 6 #include "services/video_capture/video_capture_device_factory_impl.h" | 6 #include "services/video_capture/video_capture_device_factory_impl.h" |
| 7 | 7 |
| 8 namespace video_capture { | 8 namespace video_capture { |
| 9 | 9 |
| 10 void VideoCaptureDeviceFactoryImpl::EnumerateDeviceDescriptors( | 10 void VideoCaptureDeviceFactoryImpl::EnumerateDeviceDescriptors( |
| 11 const EnumerateDeviceDescriptorsCallback& callback) { | 11 const EnumerateDeviceDescriptorsCallback& callback) { |
| 12 NOTIMPLEMENTED(); | 12 std::vector<mojom::VideoCaptureDeviceDescriptorPtr> descriptors; |
|
mcasas
2016/08/12 21:45:27
nit: s/descriptors/empty_descriptors/ ?
chfremer
2016/08/12 22:23:24
Done.
| |
| 13 callback.Run(std::move(descriptors)); | |
| 13 } | 14 } |
| 14 | 15 |
| 15 void VideoCaptureDeviceFactoryImpl::GetSupportedFormats( | 16 void VideoCaptureDeviceFactoryImpl::GetSupportedFormats( |
| 16 mojom::VideoCaptureDeviceDescriptorPtr device_descriptor, | 17 mojom::VideoCaptureDeviceDescriptorPtr device_descriptor, |
| 17 const GetSupportedFormatsCallback& callback) { | 18 const GetSupportedFormatsCallback& callback) { |
| 18 NOTIMPLEMENTED(); | 19 NOTIMPLEMENTED(); |
| 19 } | 20 } |
| 20 | 21 |
| 21 void VideoCaptureDeviceFactoryImpl::CreateDevice( | 22 void VideoCaptureDeviceFactoryImpl::CreateDevice( |
| 22 mojom::VideoCaptureDeviceDescriptorPtr device_descriptor, | 23 mojom::VideoCaptureDeviceDescriptorPtr device_descriptor, |
| 23 mojom::VideoCaptureDeviceRequest device_request) { | 24 mojom::VideoCaptureDeviceRequest device_request) { |
| 24 NOTIMPLEMENTED(); | 25 NOTIMPLEMENTED(); |
| 25 } | 26 } |
| 26 | 27 |
| 27 } // namespace video_capture | 28 } // namespace video_capture |
| OLD | NEW |