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

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

Issue 1867653002: Initial version of Blimp BlobCache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed all comments. Created 4 years, 8 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_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.
+}

Powered by Google App Engine
This is Rietveld 408576698