OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | |
5 // Message definitions shared across proto files. | |
6 | 4 |
7 syntax = "proto2"; | 5 syntax = "proto3"; |
8 | 6 |
9 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
10 | 8 |
11 package blimp; | 9 package blimp; |
12 | 10 |
13 message EmptyMessage {} | 11 message HeliumWrapper { |
12 bytes serialized_helium_message = 1; | |
Kevin M
2016/10/31 21:33:25
Since we'll be sending BlimpMessages and HeliumMes
| |
13 } | |
14 | |
15 service HeliumService { | |
16 rpc Stream(stream HeliumWrapper) returns (stream HeliumWrapper) {} | |
17 } | |
OLD | NEW |