| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 [DartPackage="mojo_services"] |
| 5 module mojo; | 6 module mojo; |
| 6 | 7 |
| 7 struct CacheHeaders { | 8 struct CacheHeaders { |
| 8 string name; | 9 string name; |
| 9 string value; | 10 string value; |
| 10 }; | 11 }; |
| 11 | 12 |
| 12 // One entry in the service cache. | 13 // One entry in the service cache. |
| 13 struct CacheEntry { | 14 struct CacheEntry { |
| 14 uint32 version = 0; | 15 uint32 version = 0; |
| 15 string url; | 16 string url; |
| 16 string content_path; | 17 string content_path; |
| 17 array<CacheHeaders>? headers; | 18 array<CacheHeaders>? headers; |
| 18 }; | 19 }; |
| OLD | NEW |