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 content; | 9 package content; |
10 | 10 |
11 message ServiceWorkerCacheStorageIndex { | 11 message ServiceWorkerCacheStorageIndex { |
12 message Cache { | 12 message Cache { |
13 required string name = 1; | 13 required string name = 1; |
14 required int32 size = 2; | 14 optional int32 DEPRECATED_size = 2; |
| 15 optional int64 size = 3; |
15 } | 16 } |
16 repeated Cache cache = 1; | 17 repeated Cache cache = 1; |
17 } | 18 } |
| 19 |
| 20 message ServiceWorkerRequestResponseHeaders { |
| 21 message HeaderMap { |
| 22 required string name = 1; |
| 23 required string value = 2; |
| 24 } |
| 25 required string method = 1; |
| 26 required int32 status_code = 2; |
| 27 required string status_text = 3; |
| 28 repeated HeaderMap request_headers = 4; |
| 29 repeated HeaderMap response_headers = 5; |
| 30 } |
OLD | NEW |