Chromium Code Reviews| 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.proto; | 9 package content.proto; |
| 10 | 10 |
| 11 message CacheStorageIndex { | 11 message CacheStorageIndex { |
| 12 message Cache { | 12 message Cache { |
| 13 required string name = 1; | 13 required string name = 1; |
| 14 optional string cache_dir = 2; | 14 optional string cache_dir = 2; |
| 15 optional int64 size = 3; | 15 optional int64 size = 3; |
| 16 optional bytes padding_key = 4; | |
|
jkarlin
2017/06/15 16:08:35
This should be a string now right?
cmumford
2017/06/20 18:22:04
Done.
| |
| 17 optional int64 padding = 5; | |
| 16 } | 18 } |
| 17 repeated Cache cache = 1; | 19 repeated Cache cache = 1; |
| 18 optional string origin = 2; | 20 optional string origin = 2; |
| 19 } | 21 } |
| 20 | 22 |
| 21 message CacheHeaderMap { | 23 message CacheHeaderMap { |
| 22 required string name = 1; | 24 required string name = 1; |
| 23 required string value = 2; | 25 required string value = 2; |
| 24 } | 26 } |
| 25 | 27 |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 46 optional int64 response_time = 6; | 48 optional int64 response_time = 6; |
| 47 repeated string cors_exposed_header_names = 7; | 49 repeated string cors_exposed_header_names = 7; |
| 48 repeated string url_list = 8; | 50 repeated string url_list = 8; |
| 49 } | 51 } |
| 50 | 52 |
| 51 message CacheMetadata { | 53 message CacheMetadata { |
| 52 required CacheRequest request = 1; | 54 required CacheRequest request = 1; |
| 53 required CacheResponse response = 2; | 55 required CacheResponse response = 2; |
| 54 optional int64 entry_time = 3; | 56 optional int64 entry_time = 3; |
| 55 } | 57 } |
| OLD | NEW |