1// Copyright 2021 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4// 5// **** DO NOT EDIT - this file was automatically generated. **** 6syntax = "proto3"; 7 8package cast.v2; 9 10import "cast/cast_core/api/web/message_channel.proto"; 11 12option optimize_for = LITE_RUNTIME; 13 14// This service runs in the runtime for a particular app. It uses a MessagePort 15// to communicate with Cast Core. 16service RuntimeMessagePortApplicationService { 17 // "MessageConnectorService" provides the transport for MessagePorts. 18 // MessagePorts are connected using other services (e.g. ApiBindings), then 19 // registered with the MessageConnectorService to communicate over IPC 20 rpc PostMessage(cast.web.Message) returns (cast.web.MessagePortStatus); 21} 22