Index: blimp/common/proto/blob_cache.proto |
diff --git a/blimp/common/proto/blob_cache.proto b/blimp/common/proto/blob_cache.proto |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1803f6d7e7972c50e55dfbc4dbd13edecf86d9d3 |
--- /dev/null |
+++ b/blimp/common/proto/blob_cache.proto |
@@ -0,0 +1,20 @@ |
+// 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. |
+// |
+// Message definitions related to the BlobCache. |
+ |
+syntax = "proto2"; |
+ |
+option optimize_for = LITE_RUNTIME; |
+ |
+package blimp; |
+ |
+// An representation sent from the engine to the client for retrieving an image |
+// from the cache or reading from |payload|. |
+message BlobCacheImage { |
Kevin M
2016/04/14 20:08:30
BlobCacheImageMetadata? It'll just be metadata in
nyquist
2016/04/15 01:27:12
Done.
|
+ optional bytes id = 1; |
+ optional int32 width = 2; |
+ optional int32 height = 3; |
+ optional bytes payload = 4; |
Kevin M
2016/04/14 20:08:30
Add TODO to remove |payload| after we incorporate
nyquist
2016/04/15 01:27:12
Done.
|
+} |