| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 BackgroundFetchedEvent_h | 5 #ifndef BackgroundFetchedEvent_h |
| 6 #define BackgroundFetchedEvent_h | 6 #define BackgroundFetchedEvent_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptPromise.h" | 8 #include "bindings/core/v8/ScriptPromise.h" |
| 9 #include "modules/ModulesExport.h" | 9 #include "modules/ModulesExport.h" |
| 10 #include "modules/background_fetch/BackgroundFetchEvent.h" | 10 #include "modules/background_fetch/BackgroundFetchEvent.h" |
| 11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 12 #include "platform/wtf/text/AtomicString.h" |
| 12 #include "public/platform/modules/background_fetch/background_fetch.mojom-blink.
h" | 13 #include "public/platform/modules/background_fetch/background_fetch.mojom-blink.
h" |
| 13 #include "wtf/text/AtomicString.h" | |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class BackgroundFetchSettledFetch; | 17 class BackgroundFetchSettledFetch; |
| 18 class BackgroundFetchedEventInit; | 18 class BackgroundFetchedEventInit; |
| 19 class ScriptState; | 19 class ScriptState; |
| 20 class ServiceWorkerRegistration; | 20 class ServiceWorkerRegistration; |
| 21 struct WebBackgroundFetchSettledFetch; | 21 struct WebBackgroundFetchSettledFetch; |
| 22 | 22 |
| 23 class MODULES_EXPORT BackgroundFetchedEvent final | 23 class MODULES_EXPORT BackgroundFetchedEvent final |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 void DidUpdateUI(ScriptPromiseResolver*, mojom::blink::BackgroundFetchError); | 69 void DidUpdateUI(ScriptPromiseResolver*, mojom::blink::BackgroundFetchError); |
| 70 | 70 |
| 71 HeapVector<Member<BackgroundFetchSettledFetch>> fetches_; | 71 HeapVector<Member<BackgroundFetchSettledFetch>> fetches_; |
| 72 Member<ServiceWorkerRegistration> registration_; | 72 Member<ServiceWorkerRegistration> registration_; |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace blink | 75 } // namespace blink |
| 76 | 76 |
| 77 #endif // BackgroundFetchedEvent_h | 77 #endif // BackgroundFetchedEvent_h |
| OLD | NEW |