Index: modules/background_sync/ServiceWorkerGlobalScopeSync.idl |
diff --git a/modules/background_sync/ServiceWorkerGlobalScopeSync.idl b/modules/background_sync/ServiceWorkerGlobalScopeSync.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f8a766a26f2ec6a1869431aff96ae52d66044abf |
--- /dev/null |
+++ b/modules/background_sync/ServiceWorkerGlobalScopeSync.idl |
@@ -0,0 +1,10 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+[ |
+ RuntimeEnabled=BackgroundSync, |
+] partial interface ServiceWorkerGlobalScope { |
+ attribute EventHandler onsync; |
+ attribute EventHandler onperiodicsync; |
+}; |