Allow CastContentBrowserClient to customise media pipeline device
commit1a4282180660fce54726f648ac465afea227109c
authorhalliwell <halliwell@chromium.org>
Fri, 5 Jun 2015 17:53:17 +0000 (5 10:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 5 Jun 2015 17:54:40 +0000 (5 17:54 +0000)
tree3d68e809f97279c42d0d3f24890745792c92fac4
parentcd7c64859aba1c58428fe4d4c3eeb16aeb335dcd
Allow CastContentBrowserClient to customise media pipeline device

We need a hook to customise how MediaPipelineDevice is created,
orthogonal to the vendor-specific aspect of creation.  Decided to
keep existing factory method for the vendor customisation so there's
no need to change vendor implementations for now (although this
will all get moved into libcast_media before long).  New hook is
in CastContentBrowserClient and can be substituted as the other
Platform* functions already are.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#333090}
chromecast/browser/cast_content_browser_client.cc
chromecast/browser/cast_content_browser_client.h
chromecast/browser/cast_content_browser_client_simple.cc
chromecast/browser/media/cma_message_filter_host.cc
chromecast/browser/media/cma_message_filter_host.h
chromecast/browser/media/media_pipeline_host.cc
chromecast/browser/media/media_pipeline_host.h
chromecast/media/cma/backend/media_pipeline_device.h
chromecast/renderer/cast_content_renderer_client.h