Index: content/common/service_worker/service_worker_messages.h |
diff --git a/content/common/service_worker/service_worker_messages.h b/content/common/service_worker/service_worker_messages.h |
index f645c5699fba27014721c54c8f4141a737b0fe27..28f27eb9832e4dd603141cdcf41be7958032b36e 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -160,6 +160,11 @@ IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_IncrementRegistrationRefCount, |
IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_DecrementRegistrationRefCount, |
int /* registration_handle_id */) |
+// Tells the browser to terminate a service worker. Used in layout tests to |
+// verify behavior when a service worker isn't running. |
+IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_TerminateWorker, |
+ int /* handle_id */) |
+ |
// Informs the browser that |provider_id| is associated |
// with a service worker script running context and |
// |version_id| identifies which ServiceWorkerVersion. |