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

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

Issue 2352173004: Mojoify FetchEvent of Service Worker. (Closed)
Patch Set: incorporated dcheng's comment Created 4 years, 2 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
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/service_worker/fetch_event_dispatcher.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+};
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/service_worker/fetch_event_dispatcher.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698