Index: content/browser/service_worker/service_worker_storage.h |
diff --git a/content/browser/service_worker/service_worker_storage.h b/content/browser/service_worker/service_worker_storage.h |
index 29cf02c36f3136f295501c80709efe5602ef5c53..ec730cc1a70221aacdbc157270047bc9515cd2d0 100644 |
--- a/content/browser/service_worker/service_worker_storage.h |
+++ b/content/browser/service_worker/service_worker_storage.h |
@@ -148,13 +148,12 @@ class CONTENT_EXPORT ServiceWorkerStorage |
scoped_ptr<ServiceWorkerResponseMetadataWriter> CreateResponseMetadataWriter( |
int64 response_id); |
- // Adds |id| to the set of resources ids that are in the disk |
- // cache but not yet stored with a registration. |
- void StoreUncommittedResponseId(int64 id); |
+ // Adds |resource_id| to the set of resources ids that are in the disk cache |
+ // but not yet stored with a registration. |
+ void StoreUncommittedResourceId(int64 resource_id); |
- // Removes |id| from uncommitted list, adds it to the |
- // purgeable list and purges it. |
- void DoomUncommittedResponse(int64 id); |
+ // Removes |resource_id| from uncommitted list. |
+ void ClearUncommittedResourceId(int64 resource_id); |
// Provide a storage mechanism to read/write arbitrary data associated with |
// a registration. Each registration has its own key namespace. Stored data |
@@ -360,6 +359,7 @@ class CONTENT_EXPORT ServiceWorkerStorage |
const ServiceWorkerDatabase::RegistrationData& deleted_version, |
const std::vector<int64>& newly_purgeable_resources, |
ServiceWorkerDatabase::Status status); |
+ void DidAccessDatabase(ServiceWorkerDatabase::Status status); |
void DidStoreUserData( |
const StatusCallback& callback, |
ServiceWorkerDatabase::Status status); |