| 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 CacheStorageIndex { | 11 message CacheStorageIndex { |
| 12 message Cache { required string name = 1; } | 12 message Cache { |
| 13 required string name = 1; |
| 14 optional string cache_dir = 2; |
| 15 } |
| 13 repeated Cache cache = 1; | 16 repeated Cache cache = 1; |
| 14 optional string origin = 2; | 17 optional string origin = 2; |
| 15 } | 18 } |
| 16 | 19 |
| 17 message CacheHeaderMap { | 20 message CacheHeaderMap { |
| 18 required string name = 1; | 21 required string name = 1; |
| 19 required string value = 2; | 22 required string value = 2; |
| 20 } | 23 } |
| 21 | 24 |
| 22 message CacheRequest { | 25 message CacheRequest { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 38 required string status_text = 2; | 41 required string status_text = 2; |
| 39 required ResponseType response_type = 3; | 42 required ResponseType response_type = 3; |
| 40 repeated CacheHeaderMap headers = 4; | 43 repeated CacheHeaderMap headers = 4; |
| 41 optional string url = 5; | 44 optional string url = 5; |
| 42 } | 45 } |
| 43 | 46 |
| 44 message CacheMetadata { | 47 message CacheMetadata { |
| 45 required CacheRequest request = 1; | 48 required CacheRequest request = 1; |
| 46 required CacheResponse response = 2; | 49 required CacheResponse response = 2; |
| 47 } | 50 } |
| OLD | NEW |