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

Unified Diff: third_party/WebKit/Source/modules/background_sync/SyncManager.idl

Issue 1437883002: [Background Sync] Align exposed API with spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src@remove-periodic
Patch Set: Rebase Created 5 years, 1 month 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: third_party/WebKit/Source/modules/background_sync/SyncManager.idl
diff --git a/third_party/WebKit/Source/modules/background_sync/SyncManager.idl b/third_party/WebKit/Source/modules/background_sync/SyncManager.idl
index 30f3ada46afd8e94e169bf4d78443cf43c0d9bf6..de186a15fff96863faa8f903a8add6d7fd4bd9e5 100644
--- a/third_party/WebKit/Source/modules/background_sync/SyncManager.idl
+++ b/third_party/WebKit/Source/modules/background_sync/SyncManager.idl
@@ -14,8 +14,6 @@ enum SyncPermissionState {
RuntimeEnabled=BackgroundSync,
TypeChecking=Interface,
] interface SyncManager {
- [CallWith=(ScriptState,ExecutionContext),ImplementedAs=registerFunction] Promise<SyncRegistration> register([RuntimeEnabled=BackgroundSyncV2] optional SyncRegistrationOptions options);
- [CallWith=ScriptState] Promise<SyncRegistration> getRegistration(DOMString tag);
- [CallWith=ScriptState] Promise<sequence<SyncRegistration>> getRegistrations();
- [RuntimeEnabled=BackgroundSyncV2, CallWith=ScriptState] Promise<SyncPermissionState> permissionState();
+ [MeasureAs=BackgroundSyncRegister,CallWith=(ScriptState,ExecutionContext),ImplementedAs=registerFunction] Promise<void> register(DOMString tag);
+ [CallWith=ScriptState] Promise<sequence<DOMString>> getTags();
};

Powered by Google App Engine
This is Rietveld 408576698