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

Issue 2155303002: Video Capture Mojo Component: Skeleton (Closed)

Created:
4 years, 5 months ago by chfremer
Modified:
4 years, 4 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch+vc_chromium.org, miu+watch_chromium.org, posciak+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Video Capture Mojo Component: Skeleton For the bigger picture, please refer to the design document at [1]. * Create Mojo interfaces in src/services/video_capture/public/interfaces. * Replicate simplified versions of the C++ interfaces of VideoCaptureDeviceFactory [2] and its dependencies. Keep interfaces close to originals and avoid name changes for now. Keep *.mojom files clear of comments for now. Intend to move over existing comments from the corresponding *.h at a later time. When the Mojo component has proven stable and all usages have been redirected, the originals are to be removed. * Create empty implementations. * Add a build target that generates the Mojo bindings. * Do not yet hook up the build target to anything. * Use a follow-up CL to package the component into a Mojo Shell Service and hook up the build targets. BUG=584797 TEST=No new behavior added. Nothing new added to the build. [1] https://docs.google.com/a/chromium.org/document/d/1Qw7rw1AJy0QHXjha36jZNiEuxsxWslJ_X-zpOhijvI8/edit?usp=sharing [2] https://cs.chromium.org/chromium/src/media/capture/video/video_capture_device_factory.h?rcl=1468855046&l=18 Committed: https://crrev.com/d6b0e6b9d39b7e699dc4e5f22879c056ffe5adb4 Cr-Commit-Position: refs/heads/master@{#410738}

Patch Set 1 : Added Mojo Component Skeleton #

Total comments: 4

Patch Set 2 : addressed mcasas' comments #

Total comments: 19

Patch Set 3 : Fix build #

Patch Set 4 : Addressed comments by emircan, mcasas, rockot #

Patch Set 5 : Update directory structure and naming #

Patch Set 6 : Fix build #

Patch Set 7 : Fixes for trybot failures #

Patch Set 8 : Move from src/device to src/services and disable building it #

Patch Set 9 : Remove build target for skeleton implementation. #

Patch Set 10 : Merge branch 'master' into VideoMojoSkeleton2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -4 lines) Patch
A + services/video_capture/OWNERS View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A + services/video_capture/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +5 lines, -5 lines 0 comments Download
A + services/video_capture/public/interfaces/OWNERS View 1 2 3 4 5 6 7 0 chunks +-1 lines, --1 lines 0 comments Download
A services/video_capture/public/interfaces/video_capture_device.mojom View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download
A services/video_capture/public/interfaces/video_capture_device_client.mojom View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download
A services/video_capture/public/interfaces/video_capture_device_factory.mojom View 1 2 3 4 5 6 7 1 chunk +47 lines, -0 lines 0 comments Download
A services/video_capture/public/interfaces/video_capture_format.mojom View 1 2 3 4 5 6 7 1 chunk +21 lines, -0 lines 0 comments Download
A services/video_capture/video_capture_device_client_impl.h View 1 2 3 4 5 6 7 1 chunk +22 lines, -0 lines 0 comments Download
A services/video_capture/video_capture_device_client_impl.cc View 1 2 3 4 5 6 7 1 chunk +19 lines, -0 lines 0 comments Download
A services/video_capture/video_capture_device_factory_impl.h View 1 2 3 4 5 6 7 1 chunk +27 lines, -0 lines 0 comments Download
A services/video_capture/video_capture_device_factory_impl.cc View 1 2 3 4 5 6 7 1 chunk +27 lines, -0 lines 0 comments Download
A services/video_capture/video_capture_device_impl.h View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
A services/video_capture/video_capture_device_impl.cc View 1 2 3 4 5 6 7 1 chunk +18 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 59 (38 generated)
chfremer
Please hold off on this review. To continue, we first need to land a required ...
4 years, 5 months ago (2016-07-21 17:27:25 UTC) #6
chfremer
This is now ready for review. I have updated the skeleton code based on the ...
4 years, 4 months ago (2016-08-02 18:17:29 UTC) #10
mcasas
Looking good, some comments. Couldn't find enough time to pull capture/ out of media/ and ...
4 years, 4 months ago (2016-08-02 18:59:32 UTC) #11
chfremer
Addressed mcasas' comments. https://codereview.chromium.org/2155303002/diff/60001/device/video/video_capture_device.mojom File device/video/video_capture_device.mojom (right): https://codereview.chromium.org/2155303002/diff/60001/device/video/video_capture_device.mojom#newcode12 device/video/video_capture_device.mojom:12: RESOLUTION_POLICY_FIXED_ASPECT_RATIO, On 2016/08/02 18:59:32, mcasas wrote: ...
4 years, 4 months ago (2016-08-02 20:30:25 UTC) #12
chfremer
@rockot: This is the CL I intended to ask you to review :-). I also ...
4 years, 4 months ago (2016-08-02 22:00:17 UTC) #14
mcasas
skeleton LGTM with one comment on the folder name: video/ is a bit too generic, ...
4 years, 4 months ago (2016-08-02 22:18:09 UTC) #15
emircan
On 2016/08/02 22:18:09, mcasas wrote: > skeleton LGTM with one comment on the folder name: ...
4 years, 4 months ago (2016-08-02 22:33:49 UTC) #20
Ken Rockot(use gerrit already)
I agree with comments re video_capture. Also I'd prefer the mojom live in device/video_capture/public/interfaces https://codereview.chromium.org/2155303002/diff/80001/device/video/video_capture_device.mojom ...
4 years, 4 months ago (2016-08-02 22:46:25 UTC) #21
chfremer
@rockot PTAL Fixed cause for trybot failures. Addressed comments. Moved from device/video -> device/video_capture. Moved ...
4 years, 4 months ago (2016-08-03 22:14:15 UTC) #24
chfremer
ben@chromium.org: As per our e-mail conversation with Ken, I would like to place this into ...
4 years, 4 months ago (2016-08-05 17:14:40 UTC) #36
Ken Rockot(use gerrit already)
RS LGTM - It's a little weird IMHO to land code that isn't built or ...
4 years, 4 months ago (2016-08-08 19:20:48 UTC) #39
Ben Goodger (Google)
lgtm
4 years, 4 months ago (2016-08-08 22:54:11 UTC) #40
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/2155303002/220001
4 years, 4 months ago (2016-08-08 23:09:50 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/203778)
4 years, 4 months ago (2016-08-08 23:18:20 UTC) #45
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/2155303002/240001
4 years, 4 months ago (2016-08-08 23:28:47 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/233308)
4 years, 4 months ago (2016-08-08 23:38:27 UTC) #50
chfremer
tsepez@ Please review the *.mojom files as per ipc/SECURITY_OWNERS
4 years, 4 months ago (2016-08-08 23:50:08 UTC) #52
Tom Sepez
mojom LGTM, though I would like to see the comments present.
4 years, 4 months ago (2016-08-09 16:53:33 UTC) #53
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/2155303002/240001
4 years, 4 months ago (2016-08-09 17:19:00 UTC) #55
commit-bot: I haz the power
Committed patchset #10 (id:240001)
4 years, 4 months ago (2016-08-09 17:58:18 UTC) #57
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 18:01:15 UTC) #59
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/d6b0e6b9d39b7e699dc4e5f22879c056ffe5adb4
Cr-Commit-Position: refs/heads/master@{#410738}

Powered by Google App Engine
This is Rietveld 408576698