| Index: content/browser/service_worker/service_worker_register_job.h
|
| diff --git a/content/browser/service_worker/service_worker_register_job.h b/content/browser/service_worker/service_worker_register_job.h
|
| index 88216d66fc843aa059008528371f46ddbd60db2e..c0a7f4c9805a86fac33acc70f5c9b5b809e6a790 100644
|
| --- a/content/browser/service_worker/service_worker_register_job.h
|
| +++ b/content/browser/service_worker/service_worker_register_job.h
|
| @@ -24,10 +24,10 @@ class ServiceWorkerRegisterJob {
|
| UNREGISTER,
|
| };
|
|
|
| - typedef base::Callback<void(ServiceWorkerRegistrationStatus status,
|
| + typedef base::Callback<void(ServiceWorkerStatusCode status,
|
| const scoped_refptr<ServiceWorkerRegistration>&
|
| registration)> RegistrationCallback;
|
| - typedef base::Callback<void(ServiceWorkerRegistrationStatus status)>
|
| + typedef base::Callback<void(ServiceWorkerStatusCode status)>
|
| UnregistrationCallback;
|
|
|
| // All type of jobs (Register and Unregister) complete through a
|
| @@ -69,23 +69,23 @@ class ServiceWorkerRegisterJob {
|
| // These are all steps in the registration and unregistration pipeline.
|
| void RegisterPatternAndContinue(
|
| const RegistrationCallback& callback,
|
| - ServiceWorkerRegistrationStatus previous_status);
|
| + ServiceWorkerStatusCode previous_status);
|
|
|
| void UnregisterPatternAndContinue(
|
| const UnregistrationCallback& callback,
|
| bool found,
|
| - ServiceWorkerRegistrationStatus previous_status,
|
| + ServiceWorkerStatusCode previous_status,
|
| const scoped_refptr<ServiceWorkerRegistration>& previous_registration);
|
|
|
| // These methods are the last internal callback in the callback
|
| // chain, and ultimately call callback_.
|
| - void UnregisterComplete(ServiceWorkerRegistrationStatus status);
|
| + void UnregisterComplete(ServiceWorkerStatusCode status);
|
| void RegisterComplete(
|
| - ServiceWorkerRegistrationStatus status,
|
| + ServiceWorkerStatusCode status,
|
| const scoped_refptr<ServiceWorkerRegistration>& registration);
|
|
|
| void RunCallbacks(
|
| - ServiceWorkerRegistrationStatus status,
|
| + ServiceWorkerStatusCode status,
|
| const scoped_refptr<ServiceWorkerRegistration>& registration);
|
|
|
| // The ServiceWorkerStorage object should always outlive
|
|
|