OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // Common message types for sharing across Blimp subprotocols. | |
6 | 4 |
7 syntax = "proto2"; | 5 syntax = "proto2"; |
8 | 6 |
9 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
10 | 8 |
11 package blimp; | 9 package cc.proto; |
12 | 10 |
13 message CoordinatePair { | 11 message Point { |
14 optional sint32 x = 1; | 12 optional int32 x = 1; |
danakj
2015/10/14 22:42:37
Is it not problematic that int inside Point can be
David Trainor- moved to gerrit
2015/10/14 22:57:51
Oops good point :(. Thanks! Changed size too and
| |
15 optional sint32 y = 2; | 13 optional int32 y = 2; |
danakj
2015/10/14 23:10:10
why are these all optional? (i'm a noob here)
David Trainor- moved to gerrit
2015/10/15 22:18:02
It's a general rule to never make something requir
| |
16 } | 14 } |
17 | |
OLD | NEW |