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

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

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/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 1e635949468c8426f64dd5331ccc8b7c9532a618..54638049f7ca1ef2e732cfe5f085a5163082db5b 100644
--- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchedEvent.h
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchedEvent.h
@@ -13,7 +13,7 @@
namespace blink {
-class BackgroundFetchSettledRequest;
+class BackgroundFetchSettledFetch;
class BackgroundFetchedEventInit;
class ServiceWorkerRegistration;
@@ -38,7 +38,7 @@ class BackgroundFetchedEvent final : public BackgroundFetchEvent {
~BackgroundFetchedEvent() override;
// Web Exposed attribute defined in the IDL file.
- HeapVector<Member<BackgroundFetchSettledRequest>> completedFetches() const;
+ HeapVector<Member<BackgroundFetchSettledFetch>> fetches() const;
// Web Exposed method defined in the IDL file.
ScriptPromise updateUI(ScriptState*, const String& title);
@@ -55,7 +55,7 @@ class BackgroundFetchedEvent final : public BackgroundFetchEvent {
void didUpdateUI(ScriptPromiseResolver*, mojom::blink::BackgroundFetchError);
- HeapVector<Member<BackgroundFetchSettledRequest>> m_completedFetches;
+ HeapVector<Member<BackgroundFetchSettledFetch>> m_fetches;
Member<ServiceWorkerRegistration> m_registration;
};

Powered by Google App Engine
This is Rietveld 408576698