| Index: media/mojo/interfaces/remoting.mojom
|
| diff --git a/media/mojo/interfaces/remoting.mojom b/media/mojo/interfaces/remoting.mojom
|
| index ba218f31f3791e91c28e72f83bbd2f297792ecd1..4e74e174511ca36a8ddcdafe68c8ad8a550b771b 100644
|
| --- a/media/mojo/interfaces/remoting.mojom
|
| +++ b/media/mojo/interfaces/remoting.mojom
|
| @@ -4,6 +4,8 @@
|
|
|
| module media.mojom;
|
|
|
| +import "media/mojo/interfaces/remoting_common.mojom";
|
| +
|
| interface RemoterFactory {
|
| // Create a new Remoter associated with the given RemotingSource and bind it
|
| // to the given interface request. The RemotingSource will be notified when
|
| @@ -41,15 +43,6 @@ interface RemotingDataStreamSender {
|
| CancelInFlightData();
|
| };
|
|
|
| -enum RemotingStopReason {
|
| - ROUTE_TERMINATED, // User-initiated disconnect, etc.
|
| - LOCAL_PLAYBACK, // Media switched back to local playback.
|
| - SOURCE_GONE, // RemotingSource has been destroyed.
|
| - MESSAGE_SEND_FAILED, // Failed to send a message to the sink.
|
| - DATA_SEND_FAILED, // Failed to consume from a data pipe or send to the sink.
|
| - UNEXPECTED_FAILURE, // Unexpected failure or inconsistent state encountered.
|
| -};
|
| -
|
| // Interface used by the source to start/stop remoting and send data to the
|
| // sink.
|
| interface Remoter {
|
| @@ -80,17 +73,6 @@ interface Remoter {
|
| SendMessageToSink(array<uint8> message);
|
| };
|
|
|
| -enum RemotingSinkCapabilities {
|
| - NONE,
|
| - RENDERING_ONLY,
|
| - CONTENT_DECRYPTION_AND_RENDERING,
|
| -};
|
| -
|
| -enum RemotingStartFailReason {
|
| - CANNOT_START_MULTIPLE, // Remoting was already active.
|
| - ROUTE_TERMINATED, // User-initated disconnect while starting remoting.
|
| -};
|
| -
|
| // Interface used for sending notifications back to the local source's control
|
| // logic, and to pass messages from the sink back to the local media pipeline.
|
| interface RemotingSource {
|
|
|