Index: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchFailEvent.h |
diff --git a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchFailEvent.h b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchFailEvent.h |
index ed8d3f1cbd307ee98f3ce05b01f6311c559b64ba..ca065bf59761db97f14b544d5a974be19025d010 100644 |
--- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchFailEvent.h |
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchFailEvent.h |
@@ -12,6 +12,7 @@ |
namespace blink { |
class BackgroundFetchFailEventInit; |
+class BackgroundFetchSettledRequest; |
class BackgroundFetchFailEvent final : public BackgroundFetchEvent { |
DEFINE_WRAPPERTYPEINFO(); |
@@ -25,12 +26,19 @@ class BackgroundFetchFailEvent final : public BackgroundFetchEvent { |
~BackgroundFetchFailEvent() override; |
+ // Web Exposed attribute defined in the IDL file. |
+ HeapVector<Member<BackgroundFetchSettledRequest>> failedFetches() const; |
+ |
// ExtendableEvent interface. |
const AtomicString& interfaceName() const override; |
+ DECLARE_VIRTUAL_TRACE(); |
+ |
private: |
BackgroundFetchFailEvent(const AtomicString& type, |
const BackgroundFetchFailEventInit&); |
+ |
+ HeapVector<Member<BackgroundFetchSettledRequest>> m_failedFetches; |
}; |
} // namespace blink |