OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 syntax = "proto2"; | 5 syntax = "proto2"; |
6 | 6 |
7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
8 | 8 |
9 package leveldb_proto; | 9 package content; |
10 | 10 |
11 // A proto to test leveldb_proto::ProtoDatabaseImpl. | 11 message ServiceWorkerCacheStorageIndex { |
12 // | 12 message Cache { |
13 // Next tag: 3 | 13 required string name = 1; |
14 message TestProto { | 14 required int32 size = 2; |
15 // Arbitary id. | 15 } |
16 optional string id = 1; | 16 repeated Cache cache = 1; |
17 | |
18 // Arbitrary data. | |
19 optional string data = 2; | |
20 } | 17 } |
OLD | NEW |