| Index: content/browser/service_worker/service_worker_database.h
|
| diff --git a/content/browser/service_worker/service_worker_database.h b/content/browser/service_worker/service_worker_database.h
|
| index 59b27648155b2298d6ba4fc8cd73a4f8834602bd..47604e33f2b742a5daeb8c73566a79bd67bf2a8d 100644
|
| --- a/content/browser/service_worker/service_worker_database.h
|
| +++ b/content/browser/service_worker/service_worker_database.h
|
| @@ -123,15 +123,15 @@ class CONTENT_EXPORT ServiceWorkerDatabase {
|
| // Writes |registration| and |resources| into the database and does following
|
| // things:
|
| // - If an old version of the registration exists, deletes it and sets
|
| - // |deleted_version_id| to the old version id and
|
| + // |deleted_version| to the old version registration data object
|
| // |newly_purgeable_resources| to its resources. Otherwise, sets
|
| - // |deleted_version_id| to -1.
|
| + // |deleted_version->version_id| to -1.
|
| // - Bumps the next registration id and the next version id if needed.
|
| // - Removes |resources| from the uncommitted list if exist.
|
| // Returns OK they are successfully written. Otherwise, returns an error.
|
| Status WriteRegistration(const RegistrationData& registration,
|
| const std::vector<ResourceRecord>& resources,
|
| - int64* deleted_version_id,
|
| + RegistrationData* deleted_version,
|
| std::vector<int64>* newly_purgeable_resources);
|
|
|
| // Updates a registration for |registration_id| to an active state. Returns OK
|
| @@ -155,7 +155,7 @@ class CONTENT_EXPORT ServiceWorkerDatabase {
|
| // database. Otherwise, returns an error.
|
| Status DeleteRegistration(int64 registration_id,
|
| const GURL& origin,
|
| - int64* version_id,
|
| + RegistrationData* deleted_version,
|
| std::vector<int64>* newly_purgeable_resources);
|
|
|
| // As new resources are put into the diskcache, they go into an uncommitted
|
|
|