[Media Router] MediaRouter interfaces with stub implementations.
commit45aa4cbbb775de85003187a8b1371d7922dc0194
authorimcheng <imcheng@google.com>
Thu, 9 Apr 2015 23:51:27 +0000 (9 16:51 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 9 Apr 2015 23:52:01 +0000 (9 23:52 +0000)
tree9cf1405da75a154340979772e3ad52e487862da8
parent7be174cccacdf2332e1a88125843451b01a866c3
[Media Router] MediaRouter interfaces with stub implementations.

- Updated Media Router data classes.
- Added MediaRouteResponse class.
- Added MediaRouteProviderManagerHost interface.
- Added MediaRouter interface with a stub MediaRouterImpl class.
- MRImpl are is a KeyedService and is instantiated via
  its BrowserContextKeyedServiceFactory implementation.
- Added MediaRoutesObserver / MediaSinksObserver interfaces which are
  used by MediaRouter API.

BUG=461815,464199

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

Cr-Commit-Position: refs/heads/master@{#324541}
17 files changed:
chrome/browser/media/router/BUILD.gn
chrome/browser/media/router/media_route.h
chrome/browser/media/router/media_router.gyp
chrome/browser/media/router/media_router.h [new file with mode: 0644]
chrome/browser/media/router/media_router_impl.cc [new file with mode: 0644]
chrome/browser/media/router/media_router_impl.h [new file with mode: 0644]
chrome/browser/media/router/media_router_impl_factory.cc [new file with mode: 0644]
chrome/browser/media/router/media_router_impl_factory.h [new file with mode: 0644]
chrome/browser/media/router/media_routes_observer.cc [new file with mode: 0644]
chrome/browser/media/router/media_routes_observer.h [new file with mode: 0644]
chrome/browser/media/router/media_sink.cc
chrome/browser/media/router/media_sink.h
chrome/browser/media/router/media_sink_unittest.cc
chrome/browser/media/router/media_sinks_observer.cc [new file with mode: 0644]
chrome/browser/media/router/media_sinks_observer.h [new file with mode: 0644]
chrome/browser/media/router/media_source.cc
chrome/browser/media/router/media_source.h