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 ServiceWorkerRegistrationNotifications_h | 5 #ifndef ServiceWorkerRegistrationNotifications_h |
6 #define ServiceWorkerRegistrationNotifications_h | 6 #define ServiceWorkerRegistrationNotifications_h |
7 | 7 |
| 8 #include <memory> |
8 #include "bindings/core/v8/ScriptPromise.h" | 9 #include "bindings/core/v8/ScriptPromise.h" |
9 #include "core/dom/ContextLifecycleObserver.h" | 10 #include "core/dom/ContextLifecycleObserver.h" |
10 #include "platform/Supplementable.h" | 11 #include "platform/Supplementable.h" |
11 #include "platform/heap/GarbageCollected.h" | 12 #include "platform/heap/GarbageCollected.h" |
12 #include "platform/heap/Handle.h" | 13 #include "platform/heap/Handle.h" |
13 #include "platform/heap/HeapAllocator.h" | 14 #include "platform/heap/HeapAllocator.h" |
14 #include "platform/heap/Visitor.h" | 15 #include "platform/heap/Visitor.h" |
15 #include "public/platform/modules/notifications/WebNotificationManager.h" | 16 #include "public/platform/modules/notifications/WebNotificationManager.h" |
16 #include "wtf/Noncopyable.h" | 17 #include "wtf/Noncopyable.h" |
17 #include "wtf/PassRefPtr.h" | 18 #include "wtf/PassRefPtr.h" |
18 #include <memory> | |
19 | 19 |
20 namespace blink { | 20 namespace blink { |
21 | 21 |
22 class ExecutionContext; | 22 class ExecutionContext; |
23 class ExceptionState; | 23 class ExceptionState; |
24 class GetNotificationOptions; | 24 class GetNotificationOptions; |
25 class NotificationOptions; | 25 class NotificationOptions; |
26 class NotificationResourcesLoader; | 26 class NotificationResourcesLoader; |
27 class ScriptState; | 27 class ScriptState; |
28 class SecurityOrigin; | 28 class SecurityOrigin; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 std::unique_ptr<WebNotificationShowCallbacks>, | 67 std::unique_ptr<WebNotificationShowCallbacks>, |
68 NotificationResourcesLoader*); | 68 NotificationResourcesLoader*); |
69 | 69 |
70 Member<ServiceWorkerRegistration> m_registration; | 70 Member<ServiceWorkerRegistration> m_registration; |
71 HeapHashSet<Member<NotificationResourcesLoader>> m_loaders; | 71 HeapHashSet<Member<NotificationResourcesLoader>> m_loaders; |
72 }; | 72 }; |
73 | 73 |
74 } // namespace blink | 74 } // namespace blink |
75 | 75 |
76 #endif // ServiceWorkerRegistrationNotifications_h | 76 #endif // ServiceWorkerRegistrationNotifications_h |
OLD | NEW |