| 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 e9b55f4acc9418f0b9384a59364a70eec784fa36..45b947d645e53eb6ed1887aca9e08541a8e22575 100644
|
| --- a/content/browser/service_worker/service_worker_registration_status.cc
|
| +++ b/content/browser/service_worker/service_worker_registration_status.cc
|
| @@ -47,6 +47,10 @@ void GetServiceWorkerRegistrationStatusResponse(
|
| *error_type = WebServiceWorkerError::ErrorTypeSecurity;
|
| return;
|
|
|
| + case SERVICE_WORKER_ERROR_TIMEOUT:
|
| + *error_type = WebServiceWorkerError::ErrorTypeTimeout;
|
| + return;
|
| +
|
| case SERVICE_WORKER_ERROR_ABORT:
|
| *error_type = WebServiceWorkerError::ErrorTypeAbort;
|
| return;
|
| @@ -57,6 +61,7 @@ void GetServiceWorkerRegistrationStatusResponse(
|
| case SERVICE_WORKER_ERROR_EXISTS:
|
| case SERVICE_WORKER_ERROR_EVENT_WAITUNTIL_REJECTED:
|
| case SERVICE_WORKER_ERROR_STATE:
|
| + case SERVICE_WORKER_ERROR_MAX_VALUE:
|
| // Unexpected, or should have bailed out before calling this, or we don't
|
| // have a corresponding blink error code yet.
|
| break; // Fall through to NOTREACHED().
|
|
|