Index: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchedEvent.h |
diff --git a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchedEvent.h b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchedEvent.h |
index b06be3f75ea5dfe1b58cb6690b4b57c467bb04db..aaee6f61e9be01c065e1e04aef395195df48a002 100644 |
--- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchedEvent.h |
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchedEvent.h |
@@ -12,6 +12,7 @@ |
namespace blink { |
+class BackgroundFetchSettledRequest; |
class BackgroundFetchedEventInit; |
class BackgroundFetchedEvent final : public BackgroundFetchEvent { |
@@ -26,15 +27,22 @@ class BackgroundFetchedEvent final : public BackgroundFetchEvent { |
~BackgroundFetchedEvent() override; |
+ // Web Exposed attribute defined in the IDL file. |
+ HeapVector<Member<BackgroundFetchSettledRequest>> completedFetches() const; |
+ |
// Web Exposed method defined in the IDL file. |
ScriptPromise updateUI(ScriptState*, String title); |
// ExtendableEvent interface. |
const AtomicString& interfaceName() const override; |
+ DECLARE_VIRTUAL_TRACE(); |
+ |
private: |
BackgroundFetchedEvent(const AtomicString& type, |
const BackgroundFetchedEventInit&); |
+ |
+ HeapVector<Member<BackgroundFetchSettledRequest>> m_completedFetches; |
}; |
} // namespace blink |