aboutsummaryrefslogtreecommitdiff
path: root/cast/cast_core/api/bindings/api_bindings.proto
blob: 0fc9c43d1f71368ce5242977dc39fc112d0d822d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2021 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.
//
// **** DO NOT EDIT - this .proto was automatically generated. ****
syntax = "proto3";

package cast.bindings;

import "cast/cast_core/api/web/message_channel.proto";

option optimize_for = LITE_RUNTIME;

message ApiBinding {
  // Script to execute before the load of a web document.
  string before_load_script = 1;
}

message GetAllResponse {
  repeated ApiBinding bindings = 1;
}

message ConnectRequest {
  string port_name = 1;
  cast.web.MessagePortDescriptor port = 2;
}