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

Issue 2813343002: [Mojo Video Capture] Switch to using Mojo structs in media/capture/mojo (Closed)

Created:
3 years, 8 months ago by chfremer
Modified:
3 years, 8 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, posciak+watch_chromium.org, chfremer+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, xjz+watch_chromium.org, darin (slow to review), miu+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mojo Video Capture] Switch to using Mojo structs in media/capture/mojo This CL is part of the Mojo Video Capture work. For the bigger picture, see [1] CL22a. Note: The video capture service implementation is currently in an incomplete and outdated state and its tests are disabled. With the refactoring of the legacy video capture stack now being complete, the next goal is to update the service implementation and fit it into the refactored stack. Changes in this CL: * Removed "capture_settings" mojo structs+typemaps from services/video_capture/public and instead use structs in media/capture/mojo. The changes to the service code are not really reviewable with it being in a non-functional stage and the tests being inactive. The reason this CL is split out from the one that makes the service and tests functional again (which will be called CL22b, see [2]) is to keep the CL size reasonable for review. BUG=584797 TEST= content_unittests --gtest_filter="*Video*" content_browsertests --gtest_filter="VideoCaptureBrowserTest.*" [1] https://docs.google.com/a/chromium.org/document/d/1Qw7rw1AJy0QHXjha36jZNiEuxsxWslJ_X-zpOhijvI8/edit?usp=sharing [2] https://codereview.chromium.org/2818513003 Review-Url: https://codereview.chromium.org/2813343002 Cr-Commit-Position: refs/heads/master@{#465305} Committed: https://chromium.googlesource.com/chromium/src/+/e9cd4bcfe3c38ec54e63bf0dde8d49d58601f143

Patch Set 1 #

Total comments: 1

Patch Set 2 : Removed extraneous AtLeast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+297 lines, -569 lines) Patch
M media/capture/BUILD.gn View 2 chunks +4 lines, -4 lines 0 comments Download
M media/capture/mojo/video_capture_types.mojom View 1 chunk +13 lines, -0 lines 0 comments Download
M media/capture/mojo/video_capture_types.typemap View 2 chunks +7 lines, -1 line 0 comments Download
M media/capture/mojo/video_capture_types_typemap_traits.h View 3 chunks +68 lines, -1 line 0 comments Download
M media/capture/mojo/video_capture_types_typemap_traits.cc View 2 chunks +137 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/chromium_bindings_configuration.gni View 1 chunk +0 lines, -1 line 0 comments Download
M services/video_capture/device_factory_media_to_mojo_adapter.h View 1 chunk +1 line, -5 lines 0 comments Download
M services/video_capture/device_factory_media_to_mojo_adapter.cc View 2 chunks +4 lines, -32 lines 0 comments Download
M services/video_capture/device_media_to_mojo_adapter.h View 1 chunk +1 line, -1 line 0 comments Download
M services/video_capture/device_media_to_mojo_adapter.cc View 2 chunks +4 lines, -5 lines 0 comments Download
D services/video_capture/public/cpp/capture_settings.h View 1 chunk +0 lines, -47 lines 0 comments Download
M services/video_capture/public/interfaces/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
D services/video_capture/public/interfaces/capture_settings.mojom View 1 chunk +0 lines, -21 lines 0 comments Download
D services/video_capture/public/interfaces/capture_settings.typemap View 1 chunk +0 lines, -21 lines 0 comments Download
D services/video_capture/public/interfaces/capture_settings_traits.h View 1 chunk +0 lines, -53 lines 0 comments Download
D services/video_capture/public/interfaces/capture_settings_traits.cc View 1 chunk +0 lines, -37 lines 0 comments Download
M services/video_capture/public/interfaces/device.mojom View 1 chunk +2 lines, -4 lines 0 comments Download
D services/video_capture/public/interfaces/device_descriptor.mojom View 1 chunk +0 lines, -33 lines 0 comments Download
D services/video_capture/public/interfaces/device_descriptor.typemap View 1 chunk +0 lines, -14 lines 0 comments Download
D services/video_capture/public/interfaces/device_descriptor_struct_traits.h View 1 chunk +0 lines, -65 lines 0 comments Download
D services/video_capture/public/interfaces/device_descriptor_struct_traits.cc View 1 chunk +0 lines, -141 lines 0 comments Download
M services/video_capture/public/interfaces/device_factory.mojom View 2 chunks +6 lines, -12 lines 0 comments Download
D services/video_capture/public/interfaces/typemaps.gni View 1 chunk +0 lines, -8 lines 0 comments Download
M services/video_capture/test/fake_device_descriptor_test.h View 1 chunk +1 line, -1 line 0 comments Download
M services/video_capture/test/fake_device_descriptor_test.cc View 1 chunk +8 lines, -7 lines 0 comments Download
M services/video_capture/test/fake_device_descriptor_unittest.cc View 3 chunks +11 lines, -7 lines 0 comments Download
M services/video_capture/test/fake_device_test.h View 2 chunks +3 lines, -6 lines 0 comments Download
M services/video_capture/test/fake_device_test.cc View 1 chunk +5 lines, -14 lines 0 comments Download
M services/video_capture/test/fake_device_unittest.cc View 1 4 chunks +1 line, -5 lines 0 comments Download
M services/video_capture/test/mock_device_factory.h View 1 chunk +0 lines, -1 line 0 comments Download
M services/video_capture/test/mock_device_test.h View 3 chunks +5 lines, -4 lines 0 comments Download
M services/video_capture/test/mock_device_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M services/video_capture/test/service_test.h View 1 chunk +2 lines, -2 lines 0 comments Download
M services/video_capture/test/service_unittest.cc View 1 chunk +12 lines, -12 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 29 (22 generated)
chfremer
emircan@: PTAL mcasas@: optional review
3 years, 8 months ago (2017-04-14 22:18:38 UTC) #12
emircan
lgtm % nit https://codereview.chromium.org/2813343002/diff/40001/services/video_capture/test/fake_device_unittest.cc File services/video_capture/test/fake_device_unittest.cc (right): https://codereview.chromium.org/2813343002/diff/40001/services/video_capture/test/fake_device_unittest.cc#newcode15 services/video_capture/test/fake_device_unittest.cc:15: using testing::AtLeast; I don't see AtLeast ...
3 years, 8 months ago (2017-04-17 21:02:12 UTC) #15
chfremer
tsepez@: PTAL *.mojom, *struct_traits, *typemap_traits yzshen@: Please RS chromium_bindings_configuration.gni
3 years, 8 months ago (2017-04-17 22:00:10 UTC) #19
Tom Sepez
lgtm
3 years, 8 months ago (2017-04-17 22:32:50 UTC) #20
yzshen1
On 2017/04/17 22:32:50, Tom Sepez wrote: > lgtm chromium_bindings_configuration LGTM
3 years, 8 months ago (2017-04-18 18:17:13 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2813343002/60001
3 years, 8 months ago (2017-04-18 18:18:45 UTC) #26
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 18:52:37 UTC) #29
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/e9cd4bcfe3c38ec54e63bf0dde8d...

Powered by Google App Engine
This is Rietveld 408576698