Extract MediaSource interface
Currently, MediaSource and RemotingMediaSource have no common ancestor. This makes code reuse between CastMediaRouteProvider and RemotingMediaRouteProvider difficult. This CL renames MediaSource into CastMediaSource, adds a MediaSource interface, and updates RemotingMediaSource and CastMediaSources to both derive from this interface. This paves the way for the introduction of a BaseMediaRouteProvider. Bug: 790766 Change-Id: I3f8e46816a1e9f8f2f617a43b1099c8614204efc Reviewed-on: https://chromium-review.googlesource.com/783836 Commit-Queue: Thomas Guilbert <tguilbert@chromium.org> Reviewed-by:Mounir Lamouri <mlamouri@chromium.org> Reviewed-by:
Anton Vayvod <avayvod@chromium.org> Reviewed-by:
Zhiqiang Zhang <zqzhang@chromium.org> Cr-Commit-Position: refs/heads/master@{#521578}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment