Chromium Code Reviews| 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 { |
|
dcheng
2016/09/30 08:54:43
Is there an overall design doc of how SW will work
horo
2016/10/03 02:30:57
shimazu@ is working on the Mojofication of SW.
BUG
|
| + DispatchFetchEvent(int32 response_id, ServiceWorkerFetchRequest request) |
| + => (blink.mojom.ServiceWorkerEventStatus status, |
| + mojo.common.mojom.Time dispatch_event_time); |
| +}; |