| // 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; |
| } |