| Index: services/video_capture/video_capture_device_factory_impl.cc
|
| diff --git a/services/video_capture/video_capture_device_factory_impl.cc b/services/video_capture/video_capture_device_factory_impl.cc
|
| index f634368ee29481a7a9db7fa19768ed7b8365844e..f3ca7dd5b2c5d184a8fe3e66104637d626daae6f 100644
|
| --- a/services/video_capture/video_capture_device_factory_impl.cc
|
| +++ b/services/video_capture/video_capture_device_factory_impl.cc
|
| @@ -12,8 +12,9 @@ namespace video_capture {
|
|
|
| VideoCaptureDeviceFactoryImpl::DeviceEntry::DeviceEntry(
|
| mojom::VideoCaptureDeviceDescriptorPtr descriptor,
|
| - std::unique_ptr<VideoCaptureDeviceImpl> bindable_target)
|
| - : descriptor_(std::move(descriptor)), device_(std::move(bindable_target)) {}
|
| + std::unique_ptr<VideoCaptureDeviceProxyImpl> bindable_target)
|
| + : descriptor_(std::move(descriptor)),
|
| + device_proxy_(std::move(bindable_target)) {}
|
|
|
| VideoCaptureDeviceFactoryImpl::DeviceEntry::~DeviceEntry() = default;
|
|
|
| @@ -35,7 +36,7 @@ VideoCaptureDeviceFactoryImpl::~VideoCaptureDeviceFactoryImpl() = default;
|
|
|
| void VideoCaptureDeviceFactoryImpl::AddDevice(
|
| mojom::VideoCaptureDeviceDescriptorPtr descriptor,
|
| - std::unique_ptr<VideoCaptureDeviceImpl> device) {
|
| + std::unique_ptr<VideoCaptureDeviceProxyImpl> device) {
|
| devices_.emplace_back(std::move(descriptor), std::move(device));
|
| }
|
|
|
| @@ -53,10 +54,10 @@ void VideoCaptureDeviceFactoryImpl::GetSupportedFormats(
|
| NOTIMPLEMENTED();
|
| }
|
|
|
| -void VideoCaptureDeviceFactoryImpl::CreateDevice(
|
| +void VideoCaptureDeviceFactoryImpl::CreateDeviceProxy(
|
| mojom::VideoCaptureDeviceDescriptorPtr device_descriptor,
|
| - mojom::VideoCaptureDeviceRequest request,
|
| - const CreateDeviceCallback& callback) {
|
| + mojom::VideoCaptureDeviceProxyRequest request,
|
| + const CreateDeviceProxyCallback& callback) {
|
| callback.Run(mojom::DeviceAccessResultCode::SUCCESS);
|
| }
|
|
|
|
|