Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1305)

Unified Diff: Source/modules/background_sync/ServiceWorkerGlobalScopeSync.h

Issue 963683002: Add IDL and initial Blink API for Background Sync (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remembering how ASCII works Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698