| Index: third_party/WebKit/Source/modules/push_messaging/PushManager.h
|
| diff --git a/third_party/WebKit/Source/modules/push_messaging/PushManager.h b/third_party/WebKit/Source/modules/push_messaging/PushManager.h
|
| index a4c0729235085a650b207942c15df41a184a2417..d6d9cfdbb80f1bbfeb8e0b47d7429e6242b8f7d6 100644
|
| --- a/third_party/WebKit/Source/modules/push_messaging/PushManager.h
|
| +++ b/third_party/WebKit/Source/modules/push_messaging/PushManager.h
|
| @@ -6,20 +6,16 @@
|
| #define PushManager_h
|
|
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| -#include "bindings/modules/v8/UnionTypesModules.h"
|
| -#include "modules/ModulesExport.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
|
|
| -class ExceptionState;
|
| class PushSubscriptionOptions;
|
| class ScriptPromise;
|
| class ScriptState;
|
| class ServiceWorkerRegistration;
|
| -struct WebPushSubscriptionOptions;
|
|
|
| -class MODULES_EXPORT PushManager final : public GarbageCollected<PushManager>, public ScriptWrappable {
|
| +class PushManager final : public GarbageCollected<PushManager>, public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| static PushManager* create(ServiceWorkerRegistration* registration)
|
| @@ -27,16 +23,11 @@
|
| return new PushManager(registration);
|
| }
|
|
|
| - ScriptPromise subscribe(ScriptState*, const PushSubscriptionOptions&,
|
| - ExceptionState&);
|
| + ScriptPromise subscribe(ScriptState*, const PushSubscriptionOptions&);
|
| ScriptPromise getSubscription(ScriptState*);
|
| - ScriptPromise permissionState(ScriptState*, const PushSubscriptionOptions&,
|
| - ExceptionState&);
|
| + ScriptPromise permissionState(ScriptState*, const PushSubscriptionOptions&);
|
|
|
| DECLARE_TRACE();
|
| -
|
| - static WebPushSubscriptionOptions toWebPushSubscriptionOptions(
|
| - const PushSubscriptionOptions&, ExceptionState&);
|
|
|
| private:
|
| explicit PushManager(ServiceWorkerRegistration*);
|
|
|