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

Unified Diff: services/service_cache/service_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/service_cache/service_cache_entry.mojom
diff --git a/services/icu_data/icu_data.mojom b/services/service_cache/service_cache_entry.mojom
similarity index 53%
copy from services/icu_data/icu_data.mojom
copy to services/service_cache/service_cache_entry.mojom
index 53f8ac5d047091be7948d9d587bcb090fa33cab6..960c57f12d0e764d7d14d8dad85ec517e2599596 100644
--- a/services/icu_data/icu_data.mojom
+++ b/services/service_cache/service_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.service_cache;
-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