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

Issue 551963004: media: scaffolding and plumbing for MojoRenderer{Impl, Service} (Closed)

Created:
6 years, 3 months ago by tim (not reviewing)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, scherkus (not reviewing), DaveMoore, alokp
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

media: scaffolding and plumbing for MojoRenderer{Impl, Service} * Add skeleton client-side and service-side MediaRenderer pieces with basic plumbing and connections but no real logic. * model a media::DemuxerStream in a mojom to clean up MediaRenderer interface and line-up with RendererImpl expectations. * add DecoderConfig plumbing support * add a basic unittest verifying things do actually hook up * consolidate around 'media_mojo_' naming in media.gyp and add media_mojo target to build all this stuff. BUG=410451 Committed: https://crrev.com/09f86c05e4475d8044297a0bcf6c29aa12458b2e Cr-Commit-Position: refs/heads/master@{#295579}

Patch Set 1 #

Total comments: 91

Patch Set 2 : reviews #

Patch Set 3 : git cl format #

Patch Set 4 : rebase + DEPS #

Total comments: 2

Patch Set 5 : retry platforms #

Patch Set 6 : shared_memory_support #

Patch Set 7 : don't include mojo_shell #

Patch Set 8 : #

Patch Set 9 : gn #

Patch Set 10 : media gn #

Patch Set 11 : rebase #

Patch Set 12 : fix gn #

Patch Set 13 : actually fix gn #

Total comments: 2

Patch Set 14 : data() #

Patch Set 15 : add to //BUILD.gn #

Patch Set 16 : deps #

Patch Set 17 : oops #

Total comments: 2

Patch Set 18 : public_deps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1418 lines, -42 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 8 9 10 3 chunks +64 lines, -7 lines 0 comments Download
A + media/mojo/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +9 lines, -6 lines 0 comments Download
M media/mojo/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M media/mojo/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -1 line 0 comments Download
A media/mojo/interfaces/demuxer_stream.mojom View 1 chunk +54 lines, -0 lines 0 comments Download
M media/mojo/interfaces/media_renderer.mojom View 1 chunk +3 lines, -10 lines 0 comments Download
M media/mojo/interfaces/media_types.mojom View 1 chunk +87 lines, -7 lines 0 comments Download
M media/mojo/services/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +93 lines, -3 lines 0 comments Download
M media/mojo/services/media_type_converters.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M media/mojo/services/media_type_converters.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +151 lines, -7 lines 0 comments Download
M media/mojo/services/media_type_converters_unittest.cc View 1 2 3 chunks +21 lines, -1 line 0 comments Download
A media/mojo/services/mojo_demuxer_stream_adapter.h View 1 2 3 1 chunk +75 lines, -0 lines 0 comments Download
A media/mojo/services/mojo_demuxer_stream_adapter.cc View 1 2 3 1 chunk +103 lines, -0 lines 0 comments Download
A media/mojo/services/mojo_demuxer_stream_impl.h View 1 2 1 chunk +53 lines, -0 lines 0 comments Download
A media/mojo/services/mojo_demuxer_stream_impl.cc View 1 2 1 chunk +60 lines, -0 lines 0 comments Download
A media/mojo/services/mojo_renderer_impl.h View 1 2 3 1 chunk +90 lines, -0 lines 0 comments Download
A media/mojo/services/mojo_renderer_impl.cc View 1 2 3 1 chunk +127 lines, -0 lines 0 comments Download
A media/mojo/services/mojo_renderer_service.h View 1 2 1 chunk +89 lines, -0 lines 0 comments Download
A media/mojo/services/mojo_renderer_service.cc View 1 2 3 1 chunk +141 lines, -0 lines 0 comments Download
A media/mojo/services/renderer_unittest.cc View 1 2 3 1 chunk +184 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (9 generated)
tim (not reviewing)
Hi Xiaohan, this is based off an earlier patch but is now officially ready for ...
6 years, 3 months ago (2014-09-08 23:40:38 UTC) #2
scherkus (not reviewing)
initial pass https://codereview.chromium.org/551963004/diff/1/media/mojo/interfaces/media_renderer.mojom File media/mojo/interfaces/media_renderer.mojom (right): https://codereview.chromium.org/551963004/diff/1/media/mojo/interfaces/media_renderer.mojom#newcode15 media/mojo/interfaces/media_renderer.mojom:15: Initialize(DemuxerStream stream) => (); FYI this will ...
6 years, 3 months ago (2014-09-09 20:35:33 UTC) #4
xhwang
Good patch! Here's my first round of comments. Quick question: where's the real IPC/MessagePipe code, ...
6 years, 3 months ago (2014-09-10 00:00:53 UTC) #5
tim (not reviewing)
@xhwang: the IPC code is all here! Thus is the magic of mojo. In fact, ...
6 years, 3 months ago (2014-09-10 23:08:31 UTC) #6
scherkus (not reviewing)
do you want to rebase now that https://crrev.com/1c5668ece2d095df3f33d0fe8c63a5fce45d3573 has landed to use DemuxerStreamProvider? https://codereview.chromium.org/551963004/diff/1/media/mojo/services/mojo_renderer_impl.cc File ...
6 years, 3 months ago (2014-09-12 19:14:41 UTC) #7
xhwang
The CL lgtm. Later, we may want to use a Renderer interface instead of AudioRenderer ...
6 years, 3 months ago (2014-09-15 04:57:29 UTC) #8
tim (not reviewing)
+jamesr for mojo/application approval after https://codereview.chromium.org/565323002/ https://codereview.chromium.org/551963004/diff/1/media/mojo/services/mojo_demuxer_stream_adapter.cc File media/mojo/services/mojo_demuxer_stream_adapter.cc (right): https://codereview.chromium.org/551963004/diff/1/media/mojo/services/mojo_demuxer_stream_adapter.cc#newcode30 media/mojo/services/mojo_demuxer_stream_adapter.cc:30: read_cb)); On 2014/09/15 ...
6 years, 3 months ago (2014-09-15 21:52:51 UTC) #12
tim (not reviewing)
I should say, +jamesr for media/mojo/DEPS approval (I added mojo/application).
6 years, 3 months ago (2014-09-15 21:53:32 UTC) #13
jamesr
https://codereview.chromium.org/551963004/diff/100001/media/media.gyp File media/media.gyp (right): https://codereview.chromium.org/551963004/diff/100001/media/media.gyp#newcode1765 media/media.gyp:1765: ['OS=="linux"', { what is linux only about this section?
6 years, 3 months ago (2014-09-15 22:03:14 UTC) #14
scherkus (not reviewing)
lgtm
6 years, 3 months ago (2014-09-15 23:22:42 UTC) #15
tim (not reviewing)
https://codereview.chromium.org/551963004/diff/100001/media/media.gyp File media/media.gyp (right): https://codereview.chromium.org/551963004/diff/100001/media/media.gyp#newcode1765 media/media.gyp:1765: ['OS=="linux"', { On 2014/09/15 22:03:14, jamesr wrote: > what ...
6 years, 3 months ago (2014-09-15 23:59:42 UTC) #16
jamesr
If you do change it, you need to modify the GN equivalent as well. But ...
6 years, 3 months ago (2014-09-16 00:25:28 UTC) #17
tim (not reviewing)
On 2014/09/16 00:25:28, jamesr wrote: > If you do change it, you need to modify ...
6 years, 3 months ago (2014-09-16 05:09:25 UTC) #19
jamesr
Could you please update the GN build as well for the changes you are making?
6 years, 3 months ago (2014-09-16 17:13:34 UTC) #20
tim (not reviewing)
On 2014/09/16 17:13:34, jamesr wrote: > Could you please update the GN build as well ...
6 years, 3 months ago (2014-09-17 18:45:27 UTC) #22
jamesr
lgtm w/ one suggestion. sorry for delaying this so much. I want to have idiomatic-ish ...
6 years, 3 months ago (2014-09-17 21:55:49 UTC) #23
tim (not reviewing)
On 2014/09/17 21:55:49, jamesr wrote: > lgtm w/ one suggestion. sorry for delaying this so ...
6 years, 3 months ago (2014-09-17 22:16:27 UTC) #24
jamesr
On 2014/09/17 22:16:27, timsteele wrote: > On 2014/09/17 21:55:49, jamesr wrote: > > lgtm w/ ...
6 years, 3 months ago (2014-09-17 22:24:12 UTC) #25
tim (not reviewing)
+brettw for //BUILD.gn review.
6 years, 3 months ago (2014-09-17 22:30:34 UTC) #27
brettw
lgtm https://codereview.chromium.org/551963004/diff/380001/media/mojo/BUILD.gn File media/mojo/BUILD.gn (right): https://codereview.chromium.org/551963004/diff/380001/media/mojo/BUILD.gn#newcode6 media/mojo/BUILD.gn:6: deps = [ Can you change this to ...
6 years, 3 months ago (2014-09-18 20:11:00 UTC) #28
tim (not reviewing)
thanks! https://codereview.chromium.org/551963004/diff/380001/media/mojo/BUILD.gn File media/mojo/BUILD.gn (right): https://codereview.chromium.org/551963004/diff/380001/media/mojo/BUILD.gn#newcode6 media/mojo/BUILD.gn:6: deps = [ On 2014/09/18 20:10:59, brettw wrote: ...
6 years, 3 months ago (2014-09-18 21:15:23 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/551963004/400001
6 years, 3 months ago (2014-09-18 21:18:16 UTC) #31
commit-bot: I haz the power
Committed patchset #18 (id:400001) as 6a1aeaf19b4233542fdb6d3de2c3f36bdf426632
6 years, 3 months ago (2014-09-18 22:10:24 UTC) #32
commit-bot: I haz the power
6 years, 3 months ago (2014-09-18 22:11:10 UTC) #33
Message was sent while issue was closed.
Patchset 18 (id:??) landed as
https://crrev.com/09f86c05e4475d8044297a0bcf6c29aa12458b2e
Cr-Commit-Position: refs/heads/master@{#295579}

Powered by Google App Engine
This is Rietveld 408576698