Chromium Code Reviews| 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..6d048dc2be3d8b67337cbc56bd5596847817d475 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(); |
| + [CallWith=(ScriptState,ExecutionContext),ImplementedAs=registerFunction] Promise<void> register(DOMString tag); |
|
jkarlin
2015/11/12 17:29:41
Can you add MeasureAs=BackgroundSyncRegister? So i
|
| + [CallWith=ScriptState] Promise<sequence<DOMString>> getTags(); |
| }; |