media: scaffolding and plumbing for MojoRenderer{Impl, Service}
commit09f86c05e4475d8044297a0bcf6c29aa12458b2e
authortim <tim@chromium.org>
Thu, 18 Sep 2014 22:10:14 +0000 (18 15:10 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 18 Sep 2014 22:10:30 +0000 (18 22:10 +0000)
treeec243e413c44bbf9ec7b642ebad04c8ee877fe72
parent48f08c4fbc8ea99059ceee676be2327b01fdd080
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

Review URL: https://codereview.chromium.org/551963004

Cr-Commit-Position: refs/heads/master@{#295579}
21 files changed:
BUILD.gn
media/media.gyp
media/mojo/BUILD.gn [new file with mode: 0644]
media/mojo/DEPS
media/mojo/interfaces/BUILD.gn
media/mojo/interfaces/demuxer_stream.mojom [new file with mode: 0644]
media/mojo/interfaces/media_renderer.mojom
media/mojo/interfaces/media_types.mojom
media/mojo/services/BUILD.gn
media/mojo/services/media_type_converters.cc
media/mojo/services/media_type_converters.h
media/mojo/services/media_type_converters_unittest.cc
media/mojo/services/mojo_demuxer_stream_adapter.cc [new file with mode: 0644]
media/mojo/services/mojo_demuxer_stream_adapter.h [new file with mode: 0644]
media/mojo/services/mojo_demuxer_stream_impl.cc [new file with mode: 0644]
media/mojo/services/mojo_demuxer_stream_impl.h [new file with mode: 0644]
media/mojo/services/mojo_renderer_impl.cc [new file with mode: 0644]
media/mojo/services/mojo_renderer_impl.h [new file with mode: 0644]
media/mojo/services/mojo_renderer_service.cc [new file with mode: 0644]
media/mojo/services/mojo_renderer_service.h [new file with mode: 0644]
media/mojo/services/renderer_unittest.cc [new file with mode: 0644]