| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| module mirroring.mojom; |
| |
| const string kRemotingNamespace = "urn:x-cast:com.google.cast.remoting"; |
| const string kWebRtcNamespace = "urn:x-cast:com.google.cast.webrtc"; |
| |
| struct CastMessage { |
| string message_namespace; |
| string json_format_data; // The content of the message. |
| }; |
| |
| // This interface is used to send a CastMessage. |
| interface CastMessageChannel { |
| Send(CastMessage message); |
| }; |
| |