OLD | NEW |
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 "components/payments/payment_app.mojom"; | 7 import "components/payments/payment_app.mojom"; |
8 import "content/common/url_loader.mojom"; | 8 import "content/common/url_loader.mojom"; |
9 import "mojo/common/string16.mojom"; | 9 import "mojo/common/string16.mojom"; |
10 import "mojo/common/time.mojom"; | 10 import "mojo/common/time.mojom"; |
11 import "third_party/WebKit/public/platform/modules/background_sync/background_sy
nc.mojom"; | 11 import "third_party/WebKit/public/platform/modules/background_sync/background_sy
nc.mojom"; |
12 import "third_party/WebKit/public/platform/modules/serviceworker/service_worker_
event_status.mojom"; | 12 import "third_party/WebKit/public/platform/modules/serviceworker/service_worker_
event_status.mojom"; |
13 import "url/mojo/origin.mojom"; | 13 import "url/mojo/origin.mojom"; |
14 | 14 |
15 [Native] | 15 [Native] |
16 struct PushEventPayload; | 16 struct PushEventPayload; |
17 | 17 |
18 [Native] | 18 [Native] |
19 struct ServiceWorkerFetchRequest; | 19 struct ServiceWorkerFetchRequest; |
20 | 20 |
21 [Native] | 21 [Native] |
22 struct ExtendableMessageEventSource; | 22 struct ExtendableMessageEventSource; |
23 | 23 |
24 struct FetchEventPreloadHandle { | 24 struct FetchEventPreloadHandle { |
25 URLLoader url_loader; | 25 URLLoader url_loader; |
26 URLLoaderClient& url_loader_client_request; | 26 URLLoaderClient& url_loader_client_request; |
| 27 mojo.common.mojom.TimeTicks sent_timestamp; |
| 28 mojo.common.mojom.Time sent_wall_time; |
27 }; | 29 }; |
28 | 30 |
29 struct ExtendableMessageEvent { | 31 struct ExtendableMessageEvent { |
30 mojo.common.mojom.String16 message; | 32 mojo.common.mojom.String16 message; |
31 url.mojom.Origin source_origin; | 33 url.mojom.Origin source_origin; |
32 array<int32> message_ports; | 34 array<int32> message_ports; |
33 array<int32> new_routing_ids; | 35 array<int32> new_routing_ids; |
34 ExtendableMessageEventSource source; | 36 ExtendableMessageEventSource source; |
35 }; | 37 }; |
36 | 38 |
(...skipping 15 matching lines...) Expand all Loading... |
52 blink.mojom.BackgroundSyncEventLastChance last_chance) | 54 blink.mojom.BackgroundSyncEventLastChance last_chance) |
53 => (blink.mojom.ServiceWorkerEventStatus status, | 55 => (blink.mojom.ServiceWorkerEventStatus status, |
54 mojo.common.mojom.Time dispatch_event_time); | 56 mojo.common.mojom.Time dispatch_event_time); |
55 DispatchPaymentRequestEvent(payments.mojom.PaymentAppRequestData data) | 57 DispatchPaymentRequestEvent(payments.mojom.PaymentAppRequestData data) |
56 => (blink.mojom.ServiceWorkerEventStatus status, | 58 => (blink.mojom.ServiceWorkerEventStatus status, |
57 mojo.common.mojom.Time dispatch_event_time); | 59 mojo.common.mojom.Time dispatch_event_time); |
58 DispatchExtendableMessageEvent(ExtendableMessageEvent event) | 60 DispatchExtendableMessageEvent(ExtendableMessageEvent event) |
59 => (blink.mojom.ServiceWorkerEventStatus status, | 61 => (blink.mojom.ServiceWorkerEventStatus status, |
60 mojo.common.mojom.Time dispatch_event_time); | 62 mojo.common.mojom.Time dispatch_event_time); |
61 }; | 63 }; |
OLD | NEW |