| 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 84f293ed63ded17874d9bcc8b36d4989bffb15ee..3c92a5dfffc2a75906bdc9ab68862f7b850e5da7 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:
|
| case SERVICE_WORKER_ERROR_IPC_FAILED:
|
| case SERVICE_WORKER_ERROR_FAILED:
|
| @@ -54,6 +58,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().
|
|
|