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

Unified Diff: services/video_capture/video_capture_device_factory_impl.cc

Issue 2255493002: Video Capture Mojo (1.4a.b): Rename interface VideoCaptureDevice to VideoCaptureDeviceProxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FillServicePart1_Part1
Patch Set: Merge-in changes from upstream CL Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
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);
}
« no previous file with comments | « services/video_capture/video_capture_device_factory_impl.h ('k') | services/video_capture/video_capture_device_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698