xref: /aosp_15_r20/external/openscreen/cast/cast_core/api/bindings/api_bindings.proto (revision 3f982cf4871df8771c9d4abe6e9a6f8d829b2736)
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.bindings;
9
10import "cast/cast_core/api/web/message_channel.proto";
11
12option optimize_for = LITE_RUNTIME;
13
14message ApiBinding {
15  // Script to execute before the load of a web document.
16  string before_load_script = 1;
17}
18
19message GetAllRequest {}
20
21message GetAllResponse {
22  repeated ApiBinding bindings = 1;
23}
24
25message ConnectRequest {
26  string port_name = 1;
27  cast.web.MessagePortDescriptor port = 2;
28}
29
30message ConnectResponse {}
31