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

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

Issue 2751523008: Update Background Fetch IDLs following spec changes (Closed)
Patch Set: Update Background Fetch IDLs following spec changes 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.cpp
diff --git a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchFailEvent.cpp b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchFailEvent.cpp
index 307fcd6452be9dfb2fa51b2de8c8897bb7d457f5..7a9a077f24ba426081d7bffd84374473a65dcec1 100644
--- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchFailEvent.cpp
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchFailEvent.cpp
@@ -6,20 +6,20 @@
#include "modules/EventModulesNames.h"
#include "modules/background_fetch/BackgroundFetchFailEventInit.h"
-#include "modules/background_fetch/BackgroundFetchSettledRequest.h"
+#include "modules/background_fetch/BackgroundFetchSettledFetch.h"
namespace blink {
BackgroundFetchFailEvent::BackgroundFetchFailEvent(
const AtomicString& type,
const BackgroundFetchFailEventInit& init)
- : BackgroundFetchEvent(type, init), m_failedFetches(init.failedFetches()) {}
+ : BackgroundFetchEvent(type, init), m_fetches(init.fetches()) {}
BackgroundFetchFailEvent::~BackgroundFetchFailEvent() = default;
-HeapVector<Member<BackgroundFetchSettledRequest>>
-BackgroundFetchFailEvent::failedFetches() const {
- return m_failedFetches;
+HeapVector<Member<BackgroundFetchSettledFetch>>
+BackgroundFetchFailEvent::fetches() const {
+ return m_fetches;
}
const AtomicString& BackgroundFetchFailEvent::interfaceName() const {
@@ -27,7 +27,7 @@ const AtomicString& BackgroundFetchFailEvent::interfaceName() const {
}
DEFINE_TRACE(BackgroundFetchFailEvent) {
- visitor->trace(m_failedFetches);
+ visitor->trace(m_fetches);
BackgroundFetchEvent::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698