| 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 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 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; |
| 45 optional int64 response_time = 6; |
| 45 } | 46 } |
| 46 | 47 |
| 47 message CacheMetadata { | 48 message CacheMetadata { |
| 48 required CacheRequest request = 1; | 49 required CacheRequest request = 1; |
| 49 required CacheResponse response = 2; | 50 required CacheResponse response = 2; |
| 50 } | 51 } |
| OLD | NEW |