Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1184)

Unified Diff: services/url_response_disk_cache/url_response_disk_cache_entry.mojom

Issue 1276073004: Offline By Default (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rename MoveIntoDir Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..bdf5faa135e3bed2d697e83e1fb5623f7cb06122 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 InternalEntryKey {
ppi 2015/09/08 15:46:26 Since we expose this in the iterator interface, mi
qsr 2015/09/11 15:47:58 Done.
+ 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;
string content_path;
- array<CacheHeaders>? headers;
};

Powered by Google App Engine
This is Rietveld 408576698