Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: cc/proto/point.proto

Issue 1394353002: Add Protobuf support in cc for gfx objects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build for other targets Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698