Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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 syntax = "proto3"; | |
| 6 | |
| 7 option optimize_for = LITE_RUNTIME; | |
| 8 | |
| 9 package blimp; | |
| 10 | |
| 11 // 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.
| |
| 12 // generic message used above the transport layer. This is | |
| 13 // intentionally opaque so that the transport layer does not | |
| 14 // know the details of the exact type(s) of messages inside | |
| 15 // this serialized bytes. | |
| 16 message HeliumWrapper { | |
| 17 bytes serialized_helium_message = 1; | |
| 18 } | |
| 19 | |
| 20 service HeliumService { | |
| 21 // A bi-directional streaming API that sends and receives a | |
| 22 // |HeliumWrapper| protobuf message. | |
| 23 rpc Stream(stream HeliumWrapper) returns (stream HeliumWrapper) {} | |
| 24 } | |
| OLD | NEW |