Implement "UpdateWorkerState" and use it
[WebKit-https.git] / Source / WebCore / workers / service / ServiceWorkerTypes.h
index 44d5f42..d640299 100644 (file)
@@ -35,6 +35,14 @@ enum class ServiceWorkerRegistrationState {
     Active = 2,
 };
 
+enum class ServiceWorkerState {
+    Installing,
+    Installed,
+    Activating,
+    Activated,
+    Redundant,
+};
+
 } // namespace WebCore
 
 #endif // ENABLE(SERVICE_WORKER)