Index: content/common/service_worker/fetch_event_dispatcher.mojom |
diff --git a/content/common/service_worker/fetch_event_dispatcher.mojom b/content/common/service_worker/fetch_event_dispatcher.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..59d0ed1891797d4f49fd904dca578bb1c8fc5c07 |
--- /dev/null |
+++ b/content/common/service_worker/fetch_event_dispatcher.mojom |
@@ -0,0 +1,17 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+module content.mojom; |
+ |
+import "mojo/common/common_custom_types.mojom"; |
+import "third_party/WebKit/public/platform/modules/serviceworker/service_worker_event_status.mojom"; |
+ |
+[Native] |
+struct ServiceWorkerFetchRequest; |
+ |
+interface FetchEventDispatcher { |
+ DispatchFetchEvent(int32 response_id, ServiceWorkerFetchRequest request) |
+ => (blink.mojom.ServiceWorkerEventStatus status, |
+ mojo.common.mojom.Time dispatch_event_time); |
+}; |