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; |
+} |