Index: content/common/service_worker_messages.h |
diff --git a/content/common/service_worker_messages.h b/content/common/service_worker_messages.h |
index f59ef1fdecdca8d1df62aceb0d8e8c6540acc577..ff032100b4d2e2fe2177cf1e3bc262c8627accde 100644 |
--- a/content/common/service_worker_messages.h |
+++ b/content/common/service_worker_messages.h |
@@ -39,3 +39,12 @@ IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerUnregistered, |
int32 /* thread_id */, |
int32 /* request_id */, |
int32 /* service_worker_id */) |
+ |
+// Any kind of registration error from RegisterServiceWorker / |
+// UnregisterServiceWorker above. This can expand to include the |
+// actual reason for the error, or even be split if there is a |
+// significant difference between registration and unregistration |
+// errors. |
+IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerRegistrationError, |
+ int32 /* thread_id */, |
+ int32 /* request_id */) |