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

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: wez 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/cc/proto/vector2d.proto b/blimp/common/proto/blob_channel.proto
similarity index 51%
copy from cc/proto/vector2d.proto
copy to blimp/common/proto/blob_channel.proto
index 15171844ffc443d28cae7c70e2149ac3989200ab..a1a7c1587d43162c149d69ba47fb6a5383d454d1 100644
--- a/cc/proto/vector2d.proto
+++ b/blimp/common/proto/blob_channel.proto
@@ -6,9 +6,16 @@ syntax = "proto2";
option optimize_for = LITE_RUNTIME;
-package cc.proto;
+package blimp;
-message Vector2d {
- optional int64 x = 1;
- optional int64 y = 2;
+message TransferBlob {
+ optional string blob_id = 2;
+ 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.
+}
+
+message BlobChannelMessage {
+ oneof type {
+ // Engine => Client types.
+ TransferBlob transfer_blob = 1;
+ }
}

Powered by Google App Engine
This is Rietveld 408576698