naiveproxy/components/mirroring/mojom/cast_message_channel.mojom
2018-08-14 22:19:20 +00:00

19 lines
559 B
Text

// 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);
};