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

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: Fix command line. 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..0ffa9fcf710d4720d4611b0c856417c14655b3c1 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
@@ -5,15 +5,17 @@
[DartPackage="mojo_services"]
module mojo;
-struct CacheHeaders {
- string name;
- string value;
+import "mojo/public/interfaces/network/url_response.mojom";
+
+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.
+ 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