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

Unified Diff: content/browser/cache_storage/cache_storage.proto

Issue 1039763002: Cache Storage: Move files to content/*/cache_storage, rename classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GN fix Created 5 years, 9 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
« no previous file with comments | « content/browser/cache_storage/cache_storage.cc ('k') | content/browser/cache_storage/cache_storage_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/cache_storage/cache_storage.proto
diff --git a/content/browser/service_worker/service_worker_cache.proto b/content/browser/cache_storage/cache_storage.proto
similarity index 59%
rename from content/browser/service_worker/service_worker_cache.proto
rename to content/browser/cache_storage/cache_storage.proto
index 37b429b0618bf592a5f0c32f45a0ed8e8f48f3b6..560bcf13f46ea0cfbb21481849973b8aea9307e3 100644
--- a/content/browser/service_worker/service_worker_cache.proto
+++ b/content/browser/cache_storage/cache_storage.proto
@@ -8,25 +8,23 @@ option optimize_for = LITE_RUNTIME;
package content;
-message ServiceWorkerCacheStorageIndex {
- message Cache {
- required string name = 1;
- }
+message CacheStorageIndex {
+ message Cache { required string name = 1; }
repeated Cache cache = 1;
optional string origin = 2;
}
-message ServiceWorkerCacheHeaderMap {
+message CacheHeaderMap {
required string name = 1;
required string value = 2;
}
-message ServiceWorkerCacheRequest {
+message CacheRequest {
required string method = 1;
- repeated ServiceWorkerCacheHeaderMap headers = 2;
+ repeated CacheHeaderMap headers = 2;
}
-message ServiceWorkerCacheResponse {
+message CacheResponse {
enum ResponseType {
BASIC_TYPE = 0;
CORS_TYPE = 1;
@@ -38,11 +36,11 @@ message ServiceWorkerCacheResponse {
required int32 status_code = 1;
required string status_text = 2;
required ResponseType response_type = 3;
- repeated ServiceWorkerCacheHeaderMap headers = 4;
+ repeated CacheHeaderMap headers = 4;
optional string url = 5;
}
-message ServiceWorkerCacheMetadata {
- required ServiceWorkerCacheRequest request = 1;
- required ServiceWorkerCacheResponse response = 2;
-}
+message CacheMetadata {
+ required CacheRequest request = 1;
+ required CacheResponse response = 2;
+}
« no previous file with comments | « content/browser/cache_storage/cache_storage.cc ('k') | content/browser/cache_storage/cache_storage_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698