OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PushSubscription_h | 5 #ifndef PushSubscription_h |
6 #define PushSubscription_h | 6 #define PushSubscription_h |
7 | 7 |
| 8 #include <memory> |
8 #include "bindings/core/v8/ScriptPromise.h" | 9 #include "bindings/core/v8/ScriptPromise.h" |
9 #include "bindings/core/v8/ScriptValue.h" | 10 #include "bindings/core/v8/ScriptValue.h" |
10 #include "bindings/core/v8/ScriptWrappable.h" | 11 #include "bindings/core/v8/ScriptWrappable.h" |
11 #include "core/dom/DOMArrayBuffer.h" | 12 #include "core/dom/DOMArrayBuffer.h" |
12 #include "platform/heap/Handle.h" | 13 #include "platform/heap/Handle.h" |
13 #include "platform/weborigin/KURL.h" | 14 #include "platform/weborigin/KURL.h" |
14 #include "wtf/PassRefPtr.h" | 15 #include "wtf/PassRefPtr.h" |
15 #include "wtf/RefPtr.h" | 16 #include "wtf/RefPtr.h" |
16 #include <memory> | |
17 | 17 |
18 namespace blink { | 18 namespace blink { |
19 | 19 |
20 class PushSubscriptionOptions; | 20 class PushSubscriptionOptions; |
21 class ServiceWorkerRegistration; | 21 class ServiceWorkerRegistration; |
22 class ScriptPromiseResolver; | 22 class ScriptPromiseResolver; |
23 class ScriptState; | 23 class ScriptState; |
24 struct WebPushSubscription; | 24 struct WebPushSubscription; |
25 | 25 |
26 class PushSubscription final | 26 class PushSubscription final |
(...skipping 29 matching lines...) Expand all Loading... |
56 | 56 |
57 Member<DOMArrayBuffer> m_p256dh; | 57 Member<DOMArrayBuffer> m_p256dh; |
58 Member<DOMArrayBuffer> m_auth; | 58 Member<DOMArrayBuffer> m_auth; |
59 | 59 |
60 Member<ServiceWorkerRegistration> m_serviceWorkerRegistration; | 60 Member<ServiceWorkerRegistration> m_serviceWorkerRegistration; |
61 }; | 61 }; |
62 | 62 |
63 } // namespace blink | 63 } // namespace blink |
64 | 64 |
65 #endif // PushSubscription_h | 65 #endif // PushSubscription_h |
OLD | NEW |