Index: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRegistration.h |
diff --git a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRegistration.h b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRegistration.h |
index e44ac7c3bb1e7951c0dc5c0a28619711fab38118..e5987ab8386847bdba25e3270a1c6ee64cdd344f 100644 |
--- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRegistration.h |
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRegistration.h |
@@ -27,13 +27,16 @@ class BackgroundFetchRegistration final |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- BackgroundFetchRegistration(ServiceWorkerRegistration*, |
- String tag, |
+ BackgroundFetchRegistration(String tag, |
HeapVector<IconDefinition> icons, |
long long totalDownloadSize, |
String title); |
~BackgroundFetchRegistration(); |
+ // Sets the ServiceWorkerRegistration that this BackgroundFetchRegistration |
+ // has been associated with. |
+ void setServiceWorkerRegistration(ServiceWorkerRegistration*); |
+ |
String tag() const; |
HeapVector<IconDefinition> icons() const; |
long long totalDownloadSize() const; |