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

Unified Diff: content/browser/service_worker/service_worker_storage.h

Issue 287843002: ServiceWorker: DB functions should return status code instead of boolean (2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 7 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/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 f2e68c390e0a2184044533a5620c4b6dbf793ee9..974b6f743b7ef2dd0711d78a9d4f772fa4c4d568 100644
--- a/content/browser/service_worker/service_worker_storage.h
+++ b/content/browser/service_worker/service_worker_storage.h
@@ -143,12 +143,12 @@ class CONTENT_EXPORT ServiceWorkerStorage {
const GURL& scope,
const FindRegistrationCallback& callback,
RegistrationList* registrations,
- bool succcess);
+ ServiceWorkerStatusCode status);
void DidGetRegistrationsForDocument(
const GURL& scope,
const FindRegistrationCallback& callback,
RegistrationList* registrations,
- bool succcess);
+ ServiceWorkerStatusCode status);
void DidReadRegistrationForId(
const FindRegistrationCallback& callback,
const ServiceWorkerDatabase::RegistrationData& registration,
@@ -157,7 +157,7 @@ class CONTENT_EXPORT ServiceWorkerStorage {
void DidGetAllRegistrations(
const GetAllRegistrationInfosCallback& callback,
RegistrationList* registrations,
- bool success);
+ ServiceWorkerStatusCode status);
void DidStoreRegistration(
const GURL& origin,
const StatusCallback& callback,

Powered by Google App Engine
This is Rietveld 408576698