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

Unified Diff: services/video_capture/video_capture_device_proxy_impl.cc

Issue 2386183002: Replace manual conversions with Mojo type mappings
Patch Set: Created 4 years, 2 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_proxy_impl.cc
diff --git a/services/video_capture/video_capture_device_proxy_impl.cc b/services/video_capture/video_capture_device_proxy_impl.cc
index abd8a059b400726be8566bff98f5e618d8974e8e..2717c35746e4148b7af217ae8b2ad08a56aaf3d5 100644
--- a/services/video_capture/video_capture_device_proxy_impl.cc
+++ b/services/video_capture/video_capture_device_proxy_impl.cc
@@ -8,7 +8,6 @@
#include "media/capture/video/video_capture_buffer_pool_impl.h"
#include "media/capture/video/video_capture_jpeg_decoder.h"
#include "services/video_capture/buffer_tracker_factory_impl.h"
-#include "services/video_capture/mojo_media_conversions.h"
#include "services/video_capture/receiver_mojo_to_media_adapter.h"
namespace video_capture {
@@ -27,7 +26,7 @@ VideoCaptureDeviceProxyImpl::~VideoCaptureDeviceProxyImpl() {
}
void VideoCaptureDeviceProxyImpl::Start(
- mojom::VideoCaptureSettingsPtr requested_settings,
+ const media::VideoCaptureParams& requested_settings,
mojom::VideoFrameReceiverPtr receiver) {
media::VideoCaptureParams params;
ConvertMojoVideoCaptureSettingsToMediaVideoCaptureParams(
« no previous file with comments | « services/video_capture/video_capture_device_proxy_impl.h ('k') | services/video_capture/video_capture_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698