Index: Source/modules/background_sync/ServiceWorkerGlobalScopeSync.h |
diff --git a/Source/core/fetch/AccessControlStatus.h b/Source/modules/background_sync/ServiceWorkerGlobalScopeSync.h |
similarity index 45% |
copy from Source/core/fetch/AccessControlStatus.h |
copy to Source/modules/background_sync/ServiceWorkerGlobalScopeSync.h |
index a697fc6d5041e01bac03fba3f930d4d62c1f5e17..d5dc7374f9a554925e9f7cb61f0dd331e473546b 100644 |
--- a/Source/core/fetch/AccessControlStatus.h |
+++ b/Source/modules/background_sync/ServiceWorkerGlobalScopeSync.h |
@@ -2,16 +2,18 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef AccessControlStatus_h |
-#define AccessControlStatus_h |
+#ifndef ServiceWorkerGlobalScopeSync_h |
+#define ServiceWorkerGlobalScopeSync_h |
+ |
+#include "core/events/EventTarget.h" |
namespace blink { |
-enum AccessControlStatus { |
- NotSharableCrossOrigin, |
- SharableCrossOrigin |
+class ServiceWorkerGlobalScopeSync { |
+public: |
+ DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(sync); |
}; |
} // namespace blink |
-#endif // AccessControlStatus_h |
+#endif // ServiceWorkerGlobalScopeSync_h |