Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(755)

Unified Diff: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchFailEvent.h

Issue 2744873002: Implement the Request/Response bits of Background Fetch (Closed)
Patch Set: comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698