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"; |
Garrett Casto
2016/10/25 18:33:50
Also feels like this should be in the next CL. Als
perumaal
2016/10/25 23:02:38
This matches the non-Chromium proto as is for now.
| |
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; | |
13 } | |
14 | |
15 service GrpcService { | |
Kevin M
2016/10/25 18:49:22
This name seems too generic, as it could easily be
perumaal
2016/10/25 23:02:39
Done.
| |
16 rpc Stream(stream HeliumWrapper) returns (stream HeliumWrapper) {} | |
17 } | |
OLD | NEW |