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

Unified Diff: services/url_response_disk_cache/url_response_disk_cache_entry.mojom

Issue 1088533003: Adding URLResponse Disk Cache to mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 years, 7 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/icu_data/icu_data.mojom b/services/url_response_disk_cache/url_response_disk_cache_entry.mojom
similarity index 56%
copy from services/icu_data/icu_data.mojom
copy to services/url_response_disk_cache/url_response_disk_cache_entry.mojom
index 53f8ac5d047091be7948d9d587bcb090fa33cab6..c68fa2debae41615144725fe2776c02ae08d8b7f 100644
--- a/services/icu_data/icu_data.mojom
+++ b/services/url_response_disk_cache/url_response_disk_cache_entry.mojom
@@ -2,8 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module icu_data;
+module mojo;
-interface ICUData {
- Map(string sha1hash) => (handle<shared_buffer>? icu_data);
+// One entry in the service cache.
+struct CacheEntry {
+ string url;
+ string content_path;
+ array<string>? headers;
};

Powered by Google App Engine
This is Rietveld 408576698