Chromium Code Reviews| Index: blimp/common/proto/helium_service.proto |
| diff --git a/blimp/common/proto/helium_service.proto b/blimp/common/proto/helium_service.proto |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0eb4f802185631ead5050576fda2971b68ca086c |
| --- /dev/null |
| +++ b/blimp/common/proto/helium_service.proto |
| @@ -0,0 +1,24 @@ |
| +// Copyright 2016 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. |
| + |
| +syntax = "proto3"; |
| + |
| +option optimize_for = LITE_RUNTIME; |
| + |
| +package blimp; |
| + |
| +// This message wraps around a serialized set of bytes from a |
|
Garrett Casto
2016/11/11 00:15:53
Nit: You are line wrapping really early here.
|
| +// generic message used above the transport layer. This is |
| +// intentionally opaque so that the transport layer does not |
| +// know the details of the exact type(s) of messages inside |
| +// this serialized bytes. |
| +message HeliumWrapper { |
| + bytes serialized_helium_message = 1; |
| +} |
| + |
| +service HeliumService { |
| + // A bi-directional streaming API that sends and receives a |
| + // |HeliumWrapper| protobuf message. |
| + rpc Stream(stream HeliumWrapper) returns (stream HeliumWrapper) {} |
| +} |