| Index: third_party/WebKit/Source/modules/push_messaging/PushSubscription.h
|
| diff --git a/third_party/WebKit/Source/modules/push_messaging/PushSubscription.h b/third_party/WebKit/Source/modules/push_messaging/PushSubscription.h
|
| index e21dcbd17cab48ac626c0f0c10b1501dfc8f2965..9a109e83d48ba400e997aea84e9ac73dd7927e2b 100644
|
| --- a/third_party/WebKit/Source/modules/push_messaging/PushSubscription.h
|
| +++ b/third_party/WebKit/Source/modules/push_messaging/PushSubscription.h
|
| @@ -17,6 +17,7 @@
|
|
|
| namespace blink {
|
|
|
| +class PushSubscriptionOptions;
|
| class ServiceWorkerRegistration;
|
| class ScriptPromiseResolver;
|
| class ScriptState;
|
| @@ -30,7 +31,9 @@ public:
|
|
|
| virtual ~PushSubscription();
|
|
|
| - KURL endpoint() const;
|
| + KURL endpoint() const { return m_endpoint; }
|
| +
|
| + PushSubscriptionOptions* options() const { return m_options.get(); }
|
|
|
| DOMArrayBuffer* getKey(const AtomicString& name) const;
|
| ScriptPromise unsubscribe(ScriptState*);
|
| @@ -44,6 +47,8 @@ private:
|
|
|
| KURL m_endpoint;
|
|
|
| + Member<PushSubscriptionOptions> m_options;
|
| +
|
| Member<DOMArrayBuffer> m_p256dh;
|
| Member<DOMArrayBuffer> m_auth;
|
|
|
|
|