OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Message definitions related to the BlobCache. | 5 // Message definitions related to the BlobCache. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
10 | 10 |
11 package blimp; | 11 package blimp; |
12 | 12 |
13 // An representation sent from the engine to the client for retrieving an image | 13 // An representation sent from the engine to the client for retrieving an image |
14 // from the cache or reading from |payload|. | 14 // from the cache or reading from |payload|. |
15 message BlobCacheImageMetadata { | 15 message BlobCacheImageMetadata { |
16 optional bytes id = 1; | 16 optional bytes id = 1; |
17 optional int32 width = 2; | 17 optional int32 width = 2; |
18 optional int32 height = 3; | 18 optional int32 height = 3; |
19 // TODO(nyquist): Remove |payload| after incorporation of BlobChannel. | |
20 optional bytes payload = 4; | |
21 } | 19 } |
OLD | NEW |