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

Unified Diff: blimp/common/proto/blob_channel.proto

Issue 1970463004: Blimp: Add BlobChannel Helium messages and delegate impls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: haibinlu feedback Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: blimp/common/proto/blob_channel.proto
diff --git a/blimp/common/proto/blob_channel.proto b/blimp/common/proto/blob_channel.proto
new file mode 100644
index 0000000000000000000000000000000000000000..50c5c76f4541d725ab5b1c3911a35c6e625340b9
--- /dev/null
+++ b/blimp/common/proto/blob_channel.proto
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+package blimp;
+
+message BlobChannelMessage {
+ enum Type {
+ UNKNOWN = 0;
+
+ // Engine => Client types.
+ TRANSFER_BLOB = 1;
+ }
+
+ optional Type type = 1 [default = UNKNOWN];
+ optional string blob_id = 2;
+ 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.
+}

Powered by Google App Engine
This is Rietveld 408576698