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

Unified Diff: content/browser/background_fetch/background_fetch_service_impl.h

Issue 2762303002: Enable transmitting Fetch Requests over Mojo (Closed)
Patch Set: rebase 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: content/browser/background_fetch/background_fetch_service_impl.h
diff --git a/content/browser/background_fetch/background_fetch_service_impl.h b/content/browser/background_fetch/background_fetch_service_impl.h
index 17f8423081eaa275819f6bcae8b293e887e541aa..b155c54def46828b283b3768deeaef65e2c08ab2 100644
--- a/content/browser/background_fetch/background_fetch_service_impl.h
+++ b/content/browser/background_fetch/background_fetch_service_impl.h
@@ -18,6 +18,7 @@ namespace content {
class BackgroundFetchContext;
struct BackgroundFetchOptions;
class ServiceWorkerContextWrapper;
+struct ServiceWorkerFetchRequest;
class BackgroundFetchServiceImpl : public blink::mojom::BackgroundFetchService {
public:
@@ -34,6 +35,7 @@ class BackgroundFetchServiceImpl : public blink::mojom::BackgroundFetchService {
// blink::mojom::BackgroundFetchService implementation.
void Fetch(int64_t service_worker_registration_id,
const std::string& tag,
+ const std::vector<ServiceWorkerFetchRequest>& requests,
const BackgroundFetchOptions& options,
const FetchCallback& callback) override;
void UpdateUI(int64_t service_worker_registration_id,

Powered by Google App Engine
This is Rietveld 408576698