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

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: git merge origin/master for good measure 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..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;
+}

Powered by Google App Engine
This is Rietveld 408576698