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

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

Issue 1096503002: [Background Sync] Converting Blink code to the MVP API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Unregister method requires the sync registration tag Created 5 years, 8 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/SyncRegistration.idl
diff --git a/Source/modules/background_sync/SyncRegistration.idl b/Source/modules/background_sync/SyncRegistration.idl
index c452a4a9bd0d0985de7e6275c42faea8e2c5d08b..171e3e49a46af4ad6f66fcb1d8e167295789ccbf 100644
--- a/Source/modules/background_sync/SyncRegistration.idl
+++ b/Source/modules/background_sync/SyncRegistration.idl
@@ -7,12 +7,6 @@
GarbageCollected,
RuntimeEnabled=BackgroundSync,
] interface SyncRegistration {
- readonly attribute DOMString id;
- readonly attribute unsigned long minDelay;
- readonly attribute unsigned long maxDelay;
- readonly attribute unsigned long minPeriod;
- readonly attribute SyncNetworkType minRequiredNetwork;
- readonly attribute boolean allowOnBattery;
- readonly attribute boolean idleRequired;
+ [RuntimeEnabled=BackgroundSyncV2] readonly attribute DOMString tag;
[CallWith=ScriptState] Promise<boolean> unregister();
};
« no previous file with comments | « Source/modules/background_sync/SyncRegistration.cpp ('k') | Source/modules/background_sync/SyncRegistrationOptions.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698