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

Unified Diff: Source/modules/background_sync/SyncEvent.idl

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
« no previous file with comments | « Source/modules/background_sync/SyncEvent.cpp ('k') | Source/modules/background_sync/SyncEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/background_sync/SyncEvent.idl
diff --git a/Source/core/timing/ConsoleMemory.idl b/Source/modules/background_sync/SyncEvent.idl
similarity index 44%
copy from Source/core/timing/ConsoleMemory.idl
copy to Source/modules/background_sync/SyncEvent.idl
index bdd31e20383d592a38ab1140ee9328a59fd7dbd2..ae8a87456ecffa5212cbdb146ac76a395fd92237 100644
--- a/Source/core/timing/ConsoleMemory.idl
+++ b/Source/modules/background_sync/SyncEvent.idl
@@ -3,7 +3,9 @@
// found in the LICENSE file.
[
- ImplementedAs=ConsoleMemory,
-] partial interface Console {
- readonly attribute MemoryInfo memory;
+ Constructor(DOMString type, SyncEventInit init),
+ Exposed=ServiceWorker,
+ RuntimeEnabled=BackgroundSync,
+] interface SyncEvent : ExtendableEvent {
+ readonly attribute SyncRegistration registration;
};
« no previous file with comments | « Source/modules/background_sync/SyncEvent.cpp ('k') | Source/modules/background_sync/SyncEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698