| Index: chrome/browser/media/router/media_router.h
|
| diff --git a/chrome/browser/media/router/media_router.h b/chrome/browser/media/router/media_router.h
|
| index 27f3d0d805f1934cf2008982a85dd7d9ffc00df3..570a439b523d3df6c8319b54e55059f5a16934a8 100644
|
| --- a/chrome/browser/media/router/media_router.h
|
| +++ b/chrome/browser/media/router/media_router.h
|
| @@ -13,6 +13,7 @@
|
| #include "base/callback.h"
|
| #include "base/callback_list.h"
|
| #include "base/time/time.h"
|
| +#include "chrome/browser/media/router/discovery/media_sink_internal.h"
|
| #include "chrome/browser/media/router/issue.h"
|
| #include "chrome/browser/media/router/media_route.h"
|
| #include "chrome/browser/media/router/media_sink.h"
|
| @@ -171,6 +172,13 @@ class MediaRouter : public KeyedService {
|
| const std::string& domain,
|
| const MediaSinkSearchResponseCallback& sink_callback) = 0;
|
|
|
| + // Notifies the Media Router that the list of MediaSinks discovered by a
|
| + // MediaSinkService has been updated.
|
| + // |provider_name|: Name of the MediaSinkService providing the sinks.
|
| + // |sinks|: sinks discovered by MediaSinkService.
|
| + virtual void ProvideSinks(const std::string& provider_name,
|
| + const std::vector<MediaSinkInternal>& sinks) = 0;
|
| +
|
| // Adds |callback| to listen for state changes for presentation connected to
|
| // |route_id|. The returned Subscription object is owned by the caller.
|
| // |callback| will be invoked whenever there are state changes, until the
|
|
|