Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 syntax = "proto2"; | |
| 6 | |
| 7 option optimize_for = LITE_RUNTIME; | |
| 8 | |
| 9 package blimp; | |
| 10 | |
| 11 message BlobChannelMessage { | |
| 12 enum Type { | |
| 13 UNKNOWN = 0; | |
| 14 | |
| 15 // Engine => Client types. | |
| 16 TRANSFER_BLOB = 1; | |
| 17 } | |
| 18 | |
| 19 optional Type type = 1 [default = UNKNOWN]; | |
| 20 optional string blob_id = 2; | |
| 21 optional bytes payload = 3; | |
|
Wez
2016/05/20 21:46:17
nit: Want to use oneof here, and define a Transfer
Kevin M
2016/05/23 20:48:07
Done.
| |
| 22 } | |
| OLD | NEW |