| Index: chrome/browser/media/router/mojo/media_router.mojom
|
| diff --git a/chrome/browser/media/router/mojo/media_router.mojom b/chrome/browser/media/router/mojo/media_router.mojom
|
| index bbf4a3b5c53ee0779987f7cc8c78238c84c620cf..0e6165ce3cfe2db243ad039d3d6a87f029b6c72d 100644
|
| --- a/chrome/browser/media/router/mojo/media_router.mojom
|
| +++ b/chrome/browser/media/router/mojo/media_router.mojom
|
| @@ -4,6 +4,8 @@
|
|
|
| module media_router.interfaces;
|
|
|
| +import "chrome/browser/media/router/mojo/media_remoter.mojom";
|
| +
|
| // Represents an output sink to which media can be routed.
|
| struct MediaSink {
|
| enum IconType {
|
| @@ -380,5 +382,12 @@ interface MediaRouter {
|
| // |messages|: A non-empty list of messages received.
|
| OnRouteMessagesReceived(string route_id,
|
| array<RouteMessage> messages);
|
| +
|
| + // Creates a MediaRemotingSession that manages content remoting from the given
|
| + // |media_source|. Only one session can be created for the same source; and an
|
| + // attempt to create a second before MediaRemotingSession.Terminate() is
|
| + // called will cause a null handle to be returned.
|
| + CreateRemotingSession(string media_source, MediaRemotingProvider provider) =>
|
| + (MediaRemotingSession? remoting_session);
|
| };
|
|
|
|
|