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

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

Issue 2762573003: Implement BackgroundFetchManager.fetch() and struct traits (Closed)
Patch Set: First round of comments 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 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;

Powered by Google App Engine
This is Rietveld 408576698