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

Side by Side Diff: content/common/service_worker/service_worker_event_dispatcher.mojom

Issue 2490623005: Remove InterfaceRegistry/Provider from service workers (Closed)
Patch Set: review Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module content.mojom; 5 module content.mojom;
6 6
7 import "content/common/url_loader.mojom"; 7 import "content/common/url_loader.mojom";
8 import "mojo/common/common_custom_types.mojom"; 8 import "mojo/common/common_custom_types.mojom";
9 import "third_party/WebKit/public/platform/modules/background_sync/background_sy nc.mojom";
9 import "third_party/WebKit/public/platform/modules/serviceworker/service_worker_ event_status.mojom"; 10 import "third_party/WebKit/public/platform/modules/serviceworker/service_worker_ event_status.mojom";
10 11
11 [Native] 12 [Native]
12 struct ServiceWorkerFetchRequest; 13 struct ServiceWorkerFetchRequest;
13 14
14 struct FetchEventPreloadHandle { 15 struct FetchEventPreloadHandle {
15 URLLoader url_loader; 16 URLLoader url_loader;
16 URLLoaderClient& url_loader_client_request; 17 URLLoaderClient& url_loader_client_request;
17 }; 18 };
18 19
19 interface FetchEventDispatcher { 20 interface ServiceWorkerEventDispatcher {
20 DispatchFetchEvent(int32 fetch_event_id, ServiceWorkerFetchRequest request, 21 DispatchFetchEvent(int32 fetch_event_id, ServiceWorkerFetchRequest request,
21 FetchEventPreloadHandle? preload_handle) 22 FetchEventPreloadHandle? preload_handle)
22 => (blink.mojom.ServiceWorkerEventStatus status, 23 => (blink.mojom.ServiceWorkerEventStatus status,
23 mojo.common.mojom.Time dispatch_event_time); 24 mojo.common.mojom.Time dispatch_event_time);
25 DispatchSyncEvent(string tag, blink.mojom.BackgroundSyncEventLastChance last_c hance)
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.
26 => (blink.mojom.ServiceWorkerEventStatus status,
27 mojo.common.mojom.Time dispatch_event_time);
24 }; 28 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698