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 fc9edc321b4fbe9323ab618030051efd9054dfb2..3f85209b55a9f6bbbe0a5ad2cd6499e0cfbfae3b 100644 |
--- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRegistration.h |
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRegistration.h |
@@ -24,13 +24,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; |