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 |
(...skipping 23 matching lines...) Expand all Loading... |
34 DEFAULT_TYPE = 2; | 34 DEFAULT_TYPE = 2; |
35 ERROR_TYPE = 3; | 35 ERROR_TYPE = 3; |
36 OPAQUE_TYPE = 4; | 36 OPAQUE_TYPE = 4; |
37 OPAQUE_REDIRECT_TYPE = 5; | 37 OPAQUE_REDIRECT_TYPE = 5; |
38 } | 38 } |
39 | 39 |
40 required int32 status_code = 1; | 40 required int32 status_code = 1; |
41 required string status_text = 2; | 41 required string status_text = 2; |
42 required ResponseType response_type = 3; | 42 required ResponseType response_type = 3; |
43 repeated CacheHeaderMap headers = 4; | 43 repeated CacheHeaderMap headers = 4; |
44 optional string url = 5; | 44 optional string url = 5 [deprecated = true]; |
45 optional int64 response_time = 6; | 45 optional int64 response_time = 6; |
46 repeated string cors_exposed_header_names = 7; | 46 repeated string cors_exposed_header_names = 7; |
| 47 repeated string url_list = 8; |
47 } | 48 } |
48 | 49 |
49 message CacheMetadata { | 50 message CacheMetadata { |
50 required CacheRequest request = 1; | 51 required CacheRequest request = 1; |
51 required CacheResponse response = 2; | 52 required CacheResponse response = 2; |
52 optional int64 entry_time = 3; | 53 optional int64 entry_time = 3; |
53 } | 54 } |
OLD | NEW |