Index: services/url_response_disk_cache/url_response_disk_cache_entry.mojom |
diff --git a/services/url_response_disk_cache/url_response_disk_cache_entry.mojom b/services/url_response_disk_cache/url_response_disk_cache_entry.mojom |
index 0d12a6e4e3bdfc7a071044ee81e04594cc11a88c..b0e8d17a9db7e9185dea95f844ebb3312b22ce30 100644 |
--- a/services/url_response_disk_cache/url_response_disk_cache_entry.mojom |
+++ b/services/url_response_disk_cache/url_response_disk_cache_entry.mojom |
@@ -2,18 +2,21 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-[DartPackage="mojo_services"] |
+// These mojom structs are declared only to get generated serialization code |
+// (ie. they are not used for ipc). |
module mojo; |
-struct CacheHeaders { |
- string name; |
- string value; |
+import "mojo/public/interfaces/network/url_response.mojom"; |
+ |
+struct CacheKey { |
+ string request_origin; |
+ string url; |
+ int64 timestamp; |
}; |
// One entry in the service cache. |
struct CacheEntry { |
- uint32 version = 0; |
- string url; |
+ URLResponse response; |
+ string cache_directory; |
ppi
2015/09/15 15:21:22
"cache_directory" is very general. If this dir is
qsr
2015/09/16 11:46:38
Done.
|
string content_path; |
ppi
2015/09/15 15:21:22
wdyt about "response_body_path"?
qsr
2015/09/16 11:46:38
Done.
|
- array<CacheHeaders>? headers; |
}; |