Index: core/dom/IdleDeadline.idl |
diff --git a/modules/background_sync/SyncRegistrationOptions.idl b/core/dom/IdleDeadline.idl |
similarity index 52% |
copy from modules/background_sync/SyncRegistrationOptions.idl |
copy to core/dom/IdleDeadline.idl |
index 6e1abbcb4db81dfa3d24b171962b870c4c0b7f68..15507891599e93c1da8f147f856824fe352b4e39 100644 |
--- a/modules/background_sync/SyncRegistrationOptions.idl |
+++ b/core/dom/IdleDeadline.idl |
@@ -3,7 +3,9 @@ |
// found in the LICENSE file. |
[ |
- RuntimeEnabled=BackgroundSyncV2, |
-] dictionary SyncRegistrationOptions { |
- DOMString tag; |
+ GarbageCollected, |
+ RuntimeEnabled=RequestIdleCallback, |
+] interface IdleDeadline { |
+ double timeRemaining(); |
+ readonly attribute boolean didTimeout; |
}; |