Chromium Code Reviews| 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 [DartPackage="mojo_services"] |
| 6 module mojo; | 6 module mojo; |
| 7 | 7 |
| 8 struct CacheHeaders { | 8 import "mojo/public/interfaces/network/url_response.mojom"; |
| 9 string name; | 9 |
| 10 string value; | 10 struct LevelDBKey { |
|
ppi
2015/09/08 11:56:24
This key type can make sense regardless of the par
ppi
2015/09/08 11:56:24
Please indicate in a comment that these mojom stru
qsr
2015/09/08 13:35:22
Done.
qsr
2015/09/08 13:35:22
Done.
| |
| 11 string request_origin; | |
| 12 string url; | |
| 13 int64 timestamp; | |
| 11 }; | 14 }; |
| 12 | 15 |
| 13 // One entry in the service cache. | 16 // One entry in the service cache. |
| 14 struct CacheEntry { | 17 struct CacheEntry { |
| 15 uint32 version = 0; | 18 URLResponse response; |
| 16 string url; | 19 string cache_directory; |
| 17 string content_path; | 20 string content_path; |
| 18 array<CacheHeaders>? headers; | |
| 19 }; | 21 }; |
| OLD | NEW |