| Index: content/browser/service_worker/service_worker_registration_status.cc
|
| diff --git a/content/browser/service_worker/service_worker_registration_status.cc b/content/browser/service_worker/service_worker_registration_status.cc
|
| index a8409ff105b63138520d657c2f950a27f5ebf9e5..f17f2744187df58e9fe34e4b60d274ab0e5c614c 100644
|
| --- a/content/browser/service_worker/service_worker_registration_status.cc
|
| +++ b/content/browser/service_worker/service_worker_registration_status.cc
|
| @@ -15,7 +15,7 @@ void GetServiceWorkerRegistrationStatusResponse(
|
| ServiceWorkerStatusCode status,
|
| blink::WebServiceWorkerError::ErrorType* error_type,
|
| base::string16* message) {
|
| - *error_type = WebServiceWorkerError::UnknownError;
|
| + *error_type = WebServiceWorkerError::ErrorTypeUnknown;
|
| *message = base::ASCIIToUTF16(ServiceWorkerStatusToString(status));
|
| switch (status) {
|
| case SERVICE_WORKER_OK:
|
| @@ -24,15 +24,15 @@ void GetServiceWorkerRegistrationStatusResponse(
|
|
|
| case SERVICE_WORKER_ERROR_START_WORKER_FAILED:
|
| case SERVICE_WORKER_ERROR_INSTALL_WORKER_FAILED:
|
| - *error_type = WebServiceWorkerError::InstallError;
|
| + *error_type = WebServiceWorkerError::ErrorTypeInstall;
|
| return;
|
|
|
| case SERVICE_WORKER_ERROR_ACTIVATE_WORKER_FAILED:
|
| - *error_type = WebServiceWorkerError::ActivateError;
|
| + *error_type = WebServiceWorkerError::ErrorTypeActivate;
|
| return;
|
|
|
| case SERVICE_WORKER_ERROR_NOT_FOUND:
|
| - *error_type = WebServiceWorkerError::NotFoundError;
|
| + *error_type = WebServiceWorkerError::ErrorTypeNotFound;
|
| return;
|
|
|
| case SERVICE_WORKER_ERROR_ABORT:
|
|
|