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

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

Issue 2762573003: Implement BackgroundFetchManager.fetch() and struct traits (Closed)
Patch Set: Add a missing file 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/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;

Powered by Google App Engine
This is Rietveld 408576698