Chromium Code Reviews| 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 | 4 |
| 5 syntax = "proto2"; | 5 syntax = "proto2"; |
| 6 | 6 |
| 7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
| 8 | 8 |
| 9 package cc.proto; | 9 package blimp; |
| 10 | 10 |
| 11 message Vector2d { | 11 message TransferBlob { |
| 12 optional int64 x = 1; | 12 optional string blob_id = 2; |
| 13 optional int64 y = 2; | 13 optional bytes payload = 1; |
|
nyquist
2016/05/25 20:16:01
Is there any reason why payload is id = 1 and not
Kevin M
2016/05/25 20:23:38
No good reason, fixed.
| |
| 14 } | 14 } |
| 15 | |
| 16 message BlobChannelMessage { | |
| 17 oneof type { | |
| 18 // Engine => Client types. | |
| 19 TransferBlob transfer_blob = 1; | |
| 20 } | |
| 21 } | |
| OLD | NEW |