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

Unified Diff: content/browser/service_worker/service_worker_context_core.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
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_context_core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/service_worker_context_core.h
diff --git a/content/browser/service_worker/service_worker_context_core.h b/content/browser/service_worker/service_worker_context_core.h
index 4ab4351be7d9088b592469aafc23bbf61a97e16b..c59ef7cbb1d3fe5ba5bae3a51e98f98d2c967039 100644
--- a/content/browser/service_worker/service_worker_context_core.h
+++ b/content/browser/service_worker/service_worker_context_core.h
@@ -44,10 +44,10 @@ class CONTENT_EXPORT ServiceWorkerContextCore
: NON_EXPORTED_BASE(
public base::SupportsWeakPtr<ServiceWorkerContextCore>) {
public:
- typedef base::Callback<void(ServiceWorkerRegistrationStatus status,
+ typedef base::Callback<void(ServiceWorkerStatusCode status,
int64 registration_id)> RegistrationCallback;
typedef base::Callback<
- void(ServiceWorkerRegistrationStatus status)> UnregistrationCallback;
+ void(ServiceWorkerStatusCode status)> UnregistrationCallback;
// This is owned by the StoragePartition, which will supply it with
// the local path on disk. Given an empty |user_data_directory|,
@@ -92,7 +92,7 @@ class CONTENT_EXPORT ServiceWorkerContextCore
void RegistrationComplete(
const RegistrationCallback& callback,
- ServiceWorkerRegistrationStatus status,
+ ServiceWorkerStatusCode status,
const scoped_refptr<ServiceWorkerRegistration>& registration);
// Used only for testing.
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_context_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698