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

Unified Diff: content/common/service_worker/service_worker_event_dispatcher.mojom

Issue 2762303002: Enable transmitting Fetch Requests over Mojo (Closed)
Patch Set: Enable transmitting Fetch Requests over Mojo 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/common/service_worker/service_worker_event_dispatcher.mojom
diff --git a/content/common/service_worker/service_worker_event_dispatcher.mojom b/content/common/service_worker/service_worker_event_dispatcher.mojom
index 7172f0f77dc997ca31d6224f98ddfecb6e57794b..4b020c5138a5d66b79ab7c9c2f76b32ef5a1f42c 100644
--- a/content/common/service_worker/service_worker_event_dispatcher.mojom
+++ b/content/common/service_worker/service_worker_event_dispatcher.mojom
@@ -9,6 +9,7 @@ import "content/common/url_loader.mojom";
import "mojo/common/string16.mojom";
import "mojo/common/time.mojom";
import "third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom";
+import "third_party/WebKit/public/platform/modules/fetch/request.mojom";
import "third_party/WebKit/public/platform/modules/serviceworker/service_worker_event_status.mojom";
import "url/mojo/origin.mojom";
@@ -19,9 +20,6 @@ struct PlatformNotificationData;
struct PushEventPayload;
[Native]
-struct ServiceWorkerFetchRequest;
-
-[Native]
struct ExtendableMessageEventSource;
enum BackgroundFetchState {
@@ -56,7 +54,7 @@ interface ServiceWorkerEventDispatcher {
mojo.common.mojom.Time dispatch_event_time);
// |fetch_event_id| is used internally when sending the response back to the
// browser process.
- DispatchFetchEvent(int32 fetch_event_id, ServiceWorkerFetchRequest request,
+ DispatchFetchEvent(int32 fetch_event_id, blink.mojom.FetchAPIRequest request,
FetchEventPreloadHandle? preload_handle)
=> (blink.mojom.ServiceWorkerEventStatus status,
mojo.common.mojom.Time dispatch_event_time);

Powered by Google App Engine
This is Rietveld 408576698