| 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 23d3ffd5faf134e17291c6f9d8c710cdbfdcc1eb..7fdd0a91a66223445e92698add8c7210ed38395c 100644
|
| --- a/content/browser/service_worker/service_worker_database.h
|
| +++ b/content/browser/service_worker/service_worker_database.h
|
| @@ -68,10 +68,12 @@ class CONTENT_EXPORT ServiceWorkerDatabase {
|
| };
|
|
|
| // For use during initialization.
|
| - bool GetNextAvailableIds(int64* next_avail_registration_id,
|
| - int64* next_avail_version_id,
|
| - int64* next_avail_resource_id);
|
| - bool GetOriginsWithRegistrations(std::set<GURL>* origins);
|
| + ServiceWorkerStatusCode GetNextAvailableIds(
|
| + int64* next_avail_registration_id,
|
| + int64* next_avail_version_id,
|
| + int64* next_avail_resource_id);
|
| + ServiceWorkerStatusCode GetOriginsWithRegistrations(
|
| + std::set<GURL>* origins);
|
|
|
| // For use when first handling a request in an origin with registrations.
|
| bool GetRegistrationsForOrigin(const GURL& origin,
|
| @@ -144,8 +146,9 @@ class CONTENT_EXPORT ServiceWorkerDatabase {
|
| // does not exist and |create_if_needed| is false.
|
| bool LazyOpen(bool create_if_needed);
|
|
|
| - bool ReadNextAvailableId(const char* id_key,
|
| - int64* next_avail_id);
|
| + ServiceWorkerStatusCode ReadNextAvailableId(
|
| + const char* id_key,
|
| + int64* next_avail_id);
|
| bool ReadRegistrationData(int64 registration_id,
|
| const GURL& origin,
|
| RegistrationData* registration);
|
|
|