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

Issue 2224103002: Package video capture skeleton as Mojo Shell Service (Closed)

Created:
4 years, 4 months ago by chfremer
Modified:
4 years, 4 months ago
CC:
chromium-reviews, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@VideoMojoSkeleton2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

This is a follow-up to the skeleton CL [1] which is currently under review. For the bigger picture, please refer to the design document at [2]. * Added BUILD.gn for building the video_capture bindings, skeleton implementation, and package it as a Mojo Shell Service. * Added a simple Shell Service Test to confirm that the service can be reached and responds with a callback. * Hooked the build into gn_only section of the main BUILD.gn file BUG=584797 TEST=Build of gn_only succeeds. Test in video_capture_unittests passes. [1] https://codereview.chromium.org/2155303002/ [2] https://docs.google.com/a/chromium.org/document/d/1Qw7rw1AJy0QHXjha36jZNiEuxsxWslJ_X-zpOhijvI8/edit?usp=sharing Committed: https://crrev.com/db24ccb5ac27c5c19c20980eca528816cbccf809 Cr-Commit-Position: refs/heads/master@{#412286}

Patch Set 1 #

Patch Set 2 : Added comments to mojom files. #

Total comments: 10

Patch Set 3 : mcasas' comments #

Total comments: 15

Patch Set 4 : yzshen's comments #

Total comments: 10

Patch Set 5 : mcasas' comments #

Patch Set 6 : Fix for bots #

Total comments: 4

Patch Set 7 : ben's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -7 lines) Patch
M BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A services/video_capture/BUILD.gn View 1 2 3 4 5 1 chunk +76 lines, -0 lines 0 comments Download
M services/video_capture/public/interfaces/video_capture_device.mojom View 1 1 chunk +3 lines, -2 lines 0 comments Download
M services/video_capture/public/interfaces/video_capture_device_client.mojom View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M services/video_capture/public/interfaces/video_capture_device_factory.mojom View 1 2 3 4 2 chunks +10 lines, -1 line 0 comments Download
A + services/video_capture/service_main.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
A services/video_capture/service_manifest.json View 1 2 3 4 5 6 1 chunk +13 lines, -0 lines 0 comments Download
A services/video_capture/service_unittest.cc View 1 2 3 4 1 chunk +63 lines, -0 lines 0 comments Download
A services/video_capture/service_unittest_manifest.json View 1 2 3 4 5 6 1 chunk +11 lines, -0 lines 0 comments Download
M services/video_capture/video_capture_device_factory_impl.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
A services/video_capture/video_capture_service.h View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download
A services/video_capture/video_capture_service.cc View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 42 (19 generated)
chfremer
4 years, 4 months ago (2016-08-09 17:02:55 UTC) #6
mcasas
looking good, just some comments rockot@ will know more about the service parts. https://codereview.chromium.org/2224103002/diff/40001/BUILD.gn File ...
4 years, 4 months ago (2016-08-10 15:50:54 UTC) #7
chfremer
@mcasas PTAL https://codereview.chromium.org/2224103002/diff/40001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2224103002/diff/40001/BUILD.gn#newcode697 BUILD.gn:697: "//services/video_capture:video_capture_unittests", On 2016/08/10 15:50:53, mcasas wrote: > ...
4 years, 4 months ago (2016-08-10 17:07:27 UTC) #8
mcasas
From my side is an el-gee-tee-em, I'll defer to rockot@ since there's plenty of service ...
4 years, 4 months ago (2016-08-10 19:24:02 UTC) #9
chfremer
4 years, 4 months ago (2016-08-11 19:47:41 UTC) #11
yzshen1
https://codereview.chromium.org/2224103002/diff/60001/services/video_capture/public/interfaces/video_capture_device_client.mojom File services/video_capture/public/interfaces/video_capture_device_client.mojom (right): https://codereview.chromium.org/2224103002/diff/60001/services/video_capture/public/interfaces/video_capture_device_client.mojom#newcode10 services/video_capture/public/interfaces/video_capture_device_client.mojom:10: // VideoCaptureDevice style nit: please add a '.' at ...
4 years, 4 months ago (2016-08-12 17:46:50 UTC) #12
chfremer
yzshen@: PTAL https://codereview.chromium.org/2224103002/diff/60001/services/video_capture/public/interfaces/video_capture_device_client.mojom File services/video_capture/public/interfaces/video_capture_device_client.mojom (right): https://codereview.chromium.org/2224103002/diff/60001/services/video_capture/public/interfaces/video_capture_device_client.mojom#newcode10 services/video_capture/public/interfaces/video_capture_device_client.mojom:10: // VideoCaptureDevice On 2016/08/12 17:46:50, yzshen1 wrote: ...
4 years, 4 months ago (2016-08-12 18:32:28 UTC) #13
yzshen1
https://codereview.chromium.org/2224103002/diff/60001/services/video_capture/public/interfaces/video_capture_device_factory.mojom File services/video_capture/public/interfaces/video_capture_device_factory.mojom (right): https://codereview.chromium.org/2224103002/diff/60001/services/video_capture/public/interfaces/video_capture_device_factory.mojom#newcode48 services/video_capture/public/interfaces/video_capture_device_factory.mojom:48: GetSupportedFormats(VideoCaptureDeviceDescriptor device_descriptor) On 2016/08/12 18:32:27, chfremer wrote: > On ...
4 years, 4 months ago (2016-08-12 20:05:53 UTC) #14
chfremer
On 2016/08/12 20:05:53, yzshen1 wrote: > On 2016/08/12 18:32:27, chfremer wrote: > > On 2016/08/12 ...
4 years, 4 months ago (2016-08-12 20:16:37 UTC) #17
mcasas
a few nits, otherwise LGTM https://codereview.chromium.org/2224103002/diff/80001/services/video_capture/service_main.cc File services/video_capture/service_main.cc (right): https://codereview.chromium.org/2224103002/diff/80001/services/video_capture/service_main.cc#newcode12 services/video_capture/service_main.cc:12: } Pro-tip: when uploading ...
4 years, 4 months ago (2016-08-12 21:45:27 UTC) #20
mcasas
https://codereview.chromium.org/2224103002/diff/60001/services/video_capture/public/interfaces/video_capture_device_factory.mojom File services/video_capture/public/interfaces/video_capture_device_factory.mojom (right): https://codereview.chromium.org/2224103002/diff/60001/services/video_capture/public/interfaces/video_capture_device_factory.mojom#newcode48 services/video_capture/public/interfaces/video_capture_device_factory.mojom:48: GetSupportedFormats(VideoCaptureDeviceDescriptor device_descriptor) On 2016/08/12 20:05:53, yzshen1 wrote: > On ...
4 years, 4 months ago (2016-08-12 21:49:41 UTC) #21
chfremer
Addressed comments. yzshen@: Would you like to take another look, or would you be comfortable ...
4 years, 4 months ago (2016-08-12 22:23:24 UTC) #22
yzshen1
On 2016/08/12 22:23:24, chfremer wrote: > Addressed comments. > > yzshen@: Would you like to ...
4 years, 4 months ago (2016-08-15 16:27:39 UTC) #27
chfremer
tsepez@: PTAL *.mojom files (only change is added comments) ben@: PTAL BUILD.gn (added new target ...
4 years, 4 months ago (2016-08-15 17:21:25 UTC) #29
Tom Sepez
RS LGTM on adding comments to .mojom
4 years, 4 months ago (2016-08-15 17:59:44 UTC) #30
Ben Goodger (Google)
https://codereview.chromium.org/2224103002/diff/120001/services/video_capture/public/interfaces/video_capture_device.mojom File services/video_capture/public/interfaces/video_capture_device.mojom (right): https://codereview.chromium.org/2224103002/diff/120001/services/video_capture/public/interfaces/video_capture_device.mojom#newcode8 services/video_capture/public/interfaces/video_capture_device.mojom:8: import "services/video_capture/public/interfaces/video_capture_format.mojom"; I don't see this file in the ...
4 years, 4 months ago (2016-08-15 22:56:48 UTC) #31
chfremer
ben@: PTAL https://codereview.chromium.org/2224103002/diff/120001/services/video_capture/public/interfaces/video_capture_device.mojom File services/video_capture/public/interfaces/video_capture_device.mojom (right): https://codereview.chromium.org/2224103002/diff/120001/services/video_capture/public/interfaces/video_capture_device.mojom#newcode8 services/video_capture/public/interfaces/video_capture_device.mojom:8: import "services/video_capture/public/interfaces/video_capture_format.mojom"; On 2016/08/15 22:56:47, Ben Goodger ...
4 years, 4 months ago (2016-08-15 23:19:47 UTC) #32
Ben Goodger (Google)
> On 2016/08/15 22:56:48, Ben Goodger (Google) wrote: > > Help me understand the interfaces ...
4 years, 4 months ago (2016-08-15 23:47:22 UTC) #33
chfremer
ben@: PTAL Renamed provided interface class "all" to "tests".
4 years, 4 months ago (2016-08-16 16:11:05 UTC) #34
Ben Goodger (Google)
On 2016/08/16 16:11:05, chfremer wrote: > ben@: PTAL > > Renamed provided interface class "all" ...
4 years, 4 months ago (2016-08-16 16:39:16 UTC) #35
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/2224103002/140001
4 years, 4 months ago (2016-08-16 17:01:15 UTC) #38
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 4 months ago (2016-08-16 17:55:35 UTC) #40
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 17:56:57 UTC) #42
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/db24ccb5ac27c5c19c20980eca528816cbccf809
Cr-Commit-Position: refs/heads/master@{#412286}

Powered by Google App Engine
This is Rietveld 408576698