Index: content/common/service_worker/service_worker_event_dispatcher.mojom |
diff --git a/content/common/service_worker/fetch_event_dispatcher.mojom b/content/common/service_worker/service_worker_event_dispatcher.mojom |
similarity index 70% |
rename from content/common/service_worker/fetch_event_dispatcher.mojom |
rename to content/common/service_worker/service_worker_event_dispatcher.mojom |
index ff4252f1f6e1a5ebe83928472c00f58c10ea8464..82a84d7fe88a4cf77b863ad7be69f20e7f2e0bca 100644 |
--- a/content/common/service_worker/fetch_event_dispatcher.mojom |
+++ b/content/common/service_worker/service_worker_event_dispatcher.mojom |
@@ -6,6 +6,7 @@ module content.mojom; |
import "content/common/url_loader.mojom"; |
import "mojo/common/common_custom_types.mojom"; |
+import "third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom"; |
import "third_party/WebKit/public/platform/modules/serviceworker/service_worker_event_status.mojom"; |
[Native] |
@@ -16,9 +17,12 @@ struct FetchEventPreloadHandle { |
URLLoaderClient& url_loader_client_request; |
}; |
-interface FetchEventDispatcher { |
+interface ServiceWorkerEventDispatcher { |
DispatchFetchEvent(int32 fetch_event_id, ServiceWorkerFetchRequest request, |
FetchEventPreloadHandle? preload_handle) |
=> (blink.mojom.ServiceWorkerEventStatus status, |
mojo.common.mojom.Time dispatch_event_time); |
+ DispatchSyncEvent(string tag, blink.mojom.BackgroundSyncEventLastChance last_chance) |
dcheng
2016/11/22 07:59:04
In a followup, can we add some comments about the
shimazu
2016/11/24 06:47:32
Done.
|
+ => (blink.mojom.ServiceWorkerEventStatus status, |
+ mojo.common.mojom.Time dispatch_event_time); |
}; |