| Index: Source/modules/push_messaging/PushManager.idl
|
| diff --git a/Source/modules/push_messaging/PushManager.idl b/Source/modules/push_messaging/PushManager.idl
|
| index cbf2f8fe358f0cc1d7c4080b00d3548740171157..64563e0f709f1e14c602776d1f91120ac62ee561 100644
|
| --- a/Source/modules/push_messaging/PushManager.idl
|
| +++ b/Source/modules/push_messaging/PushManager.idl
|
| @@ -2,13 +2,13 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// http://w3c.github.io/push-api/#pushregistrationmanager-interface
|
| +// http://w3c.github.io/push-api/#pushmanager-interface
|
|
|
| [
|
| GarbageCollected,
|
| RuntimeEnabled=PushMessaging,
|
| ] interface PushManager {
|
| - [CallWith=ScriptState, ImplementedAs=registerPushMessaging] Promise register();
|
| - [CallWith=ScriptState] Promise<PushRegistration?> getRegistration();
|
| + [CallWith=ScriptState] Promise<PushSubscription> subscribe();
|
| + [CallWith=ScriptState] Promise<PushSubscription?> getSubscription();
|
| [CallWith=ScriptState] Promise hasPermission();
|
| };
|
|
|