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

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

Issue 142973003: Have a central operation status code for ServiceWorker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 73c4ba510023e1bc9ebbaf10f74da2ae860120ca..711ceebdb55b88d28b4e39d0d051df09bccf19cd 100644
--- a/content/browser/service_worker/service_worker_storage.h
+++ b/content/browser/service_worker/service_worker_storage.h
@@ -31,9 +31,9 @@ class CONTENT_EXPORT ServiceWorkerStorage {
quota::QuotaManagerProxy* quota_manager_proxy);
~ServiceWorkerStorage();
- // `found` is only valid if status == REGISTRATION_OK.
+ // `found` is only valid if status == SERVICE_WORKER_OK.
typedef base::Callback<void(bool found,
- ServiceWorkerRegistrationStatus status,
+ ServiceWorkerStatusCode status,
const scoped_refptr<ServiceWorkerRegistration>&
registration)> FindRegistrationCallback;

Powered by Google App Engine
This is Rietveld 408576698