| Index: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchBridge.cpp
|
| diff --git a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchBridge.cpp b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchBridge.cpp
|
| index c65ff59ec9c440ae743fe50a027ee5407b8f2f07..a0b283e6cf0f7528beb7508bfed29ef2102e6436 100644
|
| --- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchBridge.cpp
|
| +++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchBridge.cpp
|
| @@ -12,6 +12,7 @@
|
| #include "public/platform/InterfaceProvider.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/modules/serviceworker/WebServiceWorkerRegistration.h"
|
| +#include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h"
|
|
|
| namespace blink {
|
|
|
| @@ -46,8 +47,10 @@ BackgroundFetchBridge::~BackgroundFetchBridge() = default;
|
|
|
| void BackgroundFetchBridge::fetch(
|
| const String& tag,
|
| + Vector<WebServiceWorkerRequest> requests,
|
| const BackgroundFetchOptions& options,
|
| std::unique_ptr<RegistrationCallback> callback) {
|
| + // TODO(peter): Include |requests| in the Mojo call.
|
| getService()->Fetch(
|
| supplementable()->webRegistration()->registrationId(), tag,
|
| mojom::blink::BackgroundFetchOptions::From(options),
|
|
|