Implement "UpdateWorkerState" and use it
[WebKit-https.git] / Source / WebKit / WebProcess / Storage / WebSWClientConnection.messages.in
index fb0a1d6..c0330e3 100644 (file)
@@ -29,6 +29,7 @@ messages -> WebSWClientConnection {
     UnregistrationJobResolvedInServer(uint64_t identifier, bool unregistrationResult)
     StartScriptFetchForServer(uint64_t jobIdentifier)
     UpdateRegistrationState(WebCore::ServiceWorkerRegistrationKey key, enum WebCore::ServiceWorkerRegistrationState state, std::optional<WebCore::ServiceWorkerIdentifier> serviceWorkerIdentifier)
+    UpdateWorkerState(WebCore::ServiceWorkerIdentifier serviceWorkerIdentifier, enum WebCore::ServiceWorkerState state)
     FireUpdateFoundEvent(WebCore::ServiceWorkerRegistrationKey key)
     FirePostInstallEvents(WebCore::ServiceWorkerRegistrationKey key)