Index: content/browser/push_messaging/push_messaging_message_filter.cc |
diff --git a/content/browser/push_messaging/push_messaging_message_filter.cc b/content/browser/push_messaging/push_messaging_message_filter.cc |
index 8d69c5ce92f5c7447853e7d6643760aaa1572de4..bec77309ab4632c3dc8a67b220a197ed72e97ade 100644 |
--- a/content/browser/push_messaging/push_messaging_message_filter.cc |
+++ b/content/browser/push_messaging/push_messaging_message_filter.cc |
@@ -412,6 +412,7 @@ void PushMessagingMessageFilter::DoUnregister( |
case SERVICE_WORKER_ERROR_NETWORK: |
case SERVICE_WORKER_ERROR_SECURITY: |
case SERVICE_WORKER_ERROR_EVENT_WAITUNTIL_REJECTED: |
+ case SERVICE_WORKER_ERROR_STATE: |
NOTREACHED() << "Got unexpected error code: " << service_worker_status |
<< " " << ServiceWorkerStatusToString(service_worker_status); |
DidUnregister(request_id, PUSH_UNREGISTRATION_STATUS_UNKNOWN_ERROR); |
@@ -527,6 +528,7 @@ void PushMessagingMessageFilter::DidGetRegistration( |
case SERVICE_WORKER_ERROR_NETWORK: |
case SERVICE_WORKER_ERROR_SECURITY: |
case SERVICE_WORKER_ERROR_EVENT_WAITUNTIL_REJECTED: |
+ case SERVICE_WORKER_ERROR_STATE: |
NOTREACHED() << "Got unexpected error code: " << service_worker_status |
<< " " << ServiceWorkerStatusToString(service_worker_status); |
get_status = PUSH_GETREGISTRATION_STATUS_SERVICE_WORKER_ERROR; |