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

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

Issue 2762243002: Convert Background Fetch' input to a WebServiceWorkerRequest vector (Closed)
Patch Set: IWYU 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/BackgroundFetchBridge.h
diff --git a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchBridge.h b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchBridge.h
index c8c10674bad2fd1ed44cbabe35a253e290a96491..4d67561ce8335f33389dabfa65359a9f0853cff5 100644
--- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchBridge.h
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchBridge.h
@@ -18,6 +18,7 @@ namespace blink {
class BackgroundFetchOptions;
class BackgroundFetchRegistration;
+class WebServiceWorkerRequest;
// The bridge is responsible for establishing and maintaining the Mojo
// connection to the BackgroundFetchService. It's keyed on an active Service
@@ -45,6 +46,7 @@ class BackgroundFetchBridge final
// given |options| for the sequence of |requests|. The |callback| will be
// invoked when the registration has been created.
void fetch(const String& tag,
+ Vector<WebServiceWorkerRequest> requests,
const BackgroundFetchOptions&,
std::unique_ptr<RegistrationCallback>);

Powered by Google App Engine
This is Rietveld 408576698