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

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: Add missing serviceWorkerRegistration.syncManager to interface tests Created 5 years, 9 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/public/platform/modules/app_banner/WebAppBannerPromptReply.h b/Source/modules/background_sync/ServiceWorkerGlobalScopeSync.h
similarity index 45%
copy from public/platform/modules/app_banner/WebAppBannerPromptReply.h
copy to Source/modules/background_sync/ServiceWorkerGlobalScopeSync.h
index 9781aa600bb62f2aaae53a0be18e6865bae0a2a1..d5dc7374f9a554925e9f7cb61f0dd331e473546b 100644
--- a/public/platform/modules/app_banner/WebAppBannerPromptReply.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 WebAppBannerPromptReply_h
-#define WebAppBannerPromptReply_h
+#ifndef ServiceWorkerGlobalScopeSync_h
+#define ServiceWorkerGlobalScopeSync_h
+
+#include "core/events/EventTarget.h"
namespace blink {
-enum class WebAppBannerPromptReply {
- None = 0,
- Cancel
+class ServiceWorkerGlobalScopeSync {
+public:
+ DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(sync);
};
} // namespace blink
-#endif // WebAppBannerPromptReply_h
+#endif // ServiceWorkerGlobalScopeSync_h
« no previous file with comments | « Source/modules/background_sync/OWNERS ('k') | Source/modules/background_sync/ServiceWorkerGlobalScopeSync.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698