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 ee5ea906676044dc2288c9bd3aa996d29d435f74..e67b833826d33b986b79411e22b2f726de61740f 100644 |
--- a/content/browser/service_worker/service_worker_registration_status.cc |
+++ b/content/browser/service_worker/service_worker_registration_status.cc |
@@ -35,6 +35,14 @@ void GetServiceWorkerRegistrationStatusResponse( |
*error_type = WebServiceWorkerError::ErrorTypeNotFound; |
return; |
+ case SERVICE_WORKER_ERROR_NETWORK: |
+ *error_type = WebServiceWorkerError::ErrorTypeNetwork; |
+ return; |
+ |
+ case SERVICE_WORKER_ERROR_SECURITY: |
+ *error_type = WebServiceWorkerError::ErrorTypeSecurity; |
+ return; |
+ |
case SERVICE_WORKER_ERROR_ABORT: |
case SERVICE_WORKER_ERROR_IPC_FAILED: |
case SERVICE_WORKER_ERROR_FAILED: |