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

Unified Diff: content/common/service_worker/service_worker_types.h

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
Index: content/common/service_worker/service_worker_types.h
diff --git a/content/common/service_worker/service_worker_types.h b/content/common/service_worker/service_worker_types.h
index ab76c5c3278e6c4730121f3211aef892bf29cc67..4558d740f19c46fa76bb59911cf55be10f9a43f3 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -143,35 +143,6 @@ struct CONTENT_EXPORT ServiceWorkerResponse {
GURL stream_url;
};
-// Controls how requests are matched in the Cache API.
-struct CONTENT_EXPORT ServiceWorkerCacheQueryParams {
- ServiceWorkerCacheQueryParams();
-
- bool ignore_search;
- bool ignore_method;
- bool ignore_vary;
- base::string16 cache_name;
-};
-
-// The type of a single batch operation in the Cache API.
-enum ServiceWorkerCacheOperationType {
- SERVICE_WORKER_CACHE_OPERATION_TYPE_UNDEFINED,
- SERVICE_WORKER_CACHE_OPERATION_TYPE_PUT,
- SERVICE_WORKER_CACHE_OPERATION_TYPE_DELETE,
- SERVICE_WORKER_CACHE_OPERATION_TYPE_LAST =
- SERVICE_WORKER_CACHE_OPERATION_TYPE_DELETE
-};
-
-// A single batch operation for the Cache API.
-struct CONTENT_EXPORT ServiceWorkerBatchOperation {
- ServiceWorkerBatchOperation();
-
- ServiceWorkerCacheOperationType operation_type;
- ServiceWorkerFetchRequest request;
- ServiceWorkerResponse response;
- ServiceWorkerCacheQueryParams match_params;
-};
-
// Represents initialization info for a WebServiceWorker object.
struct CONTENT_EXPORT ServiceWorkerObjectInfo {
ServiceWorkerObjectInfo();
« no previous file with comments | « content/common/service_worker/cache_storage_messages.h ('k') | content/common/service_worker/service_worker_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698