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..04efd9f6bf81236fe1ba917f2da19405ee2093f1 |
--- /dev/null |
+++ b/blimp/common/proto/blob_cache.proto |
@@ -0,0 +1,21 @@ |
+// 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 BlobCacheImageMetadata { |
+ optional bytes id = 1; |
+ optional int32 width = 2; |
+ optional int32 height = 3; |
+ // TODO(nyquist): Remove |payload| after incorporation of BlobChannel. |
+ optional bytes payload = 4; |
+} |