naiveproxy/components/mirroring/mojom/cast_message_channel.mojom

20 lines
559 B
Plaintext
Raw Normal View History

2018-12-10 05:59:24 +03:00
// 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);
};