OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 syntax = "proto2"; |
| 6 |
| 7 package messages; |
| 8 |
| 9 // BlobWithSHA1 is a wrapper around a binary blob with SHA1 hash to verify |
| 10 // its integrity. |
| 11 message BlobWithSHA1 { |
| 12 optional bytes blob = 1; |
| 13 optional bytes sha1 = 2; |
| 14 } |
| 15 |
| 16 // TagCache stores a mapping (package name, tag) -> instance ID to speed up |
| 17 // subsequence ResolveVersion calls when tags are used. |
| 18 message TagCache { |
| 19 message Entry { |
| 20 optional string package = 1; |
| 21 optional string tag = 2; |
| 22 optional string instance_id = 3; |
| 23 } |
| 24 |
| 25 // Capped list of entries, most recently resolved is last. |
| 26 repeated Entry entries = 1; |
| 27 } |
OLD | NEW |