| 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/content/payment_app.mojom"; | 7 import "components/payments/content/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"; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 mojo.common.mojom.Time dispatch_event_time); | 60 mojo.common.mojom.Time dispatch_event_time); |
| 61 DispatchPushEvent(PushEventPayload payload) | 61 DispatchPushEvent(PushEventPayload payload) |
| 62 => (blink.mojom.ServiceWorkerEventStatus status, | 62 => (blink.mojom.ServiceWorkerEventStatus status, |
| 63 mojo.common.mojom.Time dispatch_event_time); | 63 mojo.common.mojom.Time dispatch_event_time); |
| 64 // Arguments are passed to the event handler as parameters of SyncEvent. | 64 // Arguments are passed to the event handler as parameters of SyncEvent. |
| 65 // Ref: https://wicg.github.io/BackgroundSync/spec/#sync-event | 65 // Ref: https://wicg.github.io/BackgroundSync/spec/#sync-event |
| 66 DispatchSyncEvent(string tag, | 66 DispatchSyncEvent(string tag, |
| 67 blink.mojom.BackgroundSyncEventLastChance last_chance) | 67 blink.mojom.BackgroundSyncEventLastChance last_chance) |
| 68 => (blink.mojom.ServiceWorkerEventStatus status, | 68 => (blink.mojom.ServiceWorkerEventStatus status, |
| 69 mojo.common.mojom.Time dispatch_event_time); | 69 mojo.common.mojom.Time dispatch_event_time); |
| 70 DispatchPaymentRequestEvent(payments.mojom.PaymentAppRequest app_request) | 70 DispatchPaymentRequestEvent(int32 payment_request_id, |
| 71 payments.mojom.PaymentAppRequest app_request, |
| 72 payments.mojom.PaymentAppResponseCallback response
_callback) |
| 71 => (blink.mojom.ServiceWorkerEventStatus status, | 73 => (blink.mojom.ServiceWorkerEventStatus status, |
| 72 mojo.common.mojom.Time dispatch_event_time); | 74 mojo.common.mojom.Time dispatch_event_time); |
| 73 DispatchExtendableMessageEvent(ExtendableMessageEvent event) | 75 DispatchExtendableMessageEvent(ExtendableMessageEvent event) |
| 74 => (blink.mojom.ServiceWorkerEventStatus status, | 76 => (blink.mojom.ServiceWorkerEventStatus status, |
| 75 mojo.common.mojom.Time dispatch_event_time); | 77 mojo.common.mojom.Time dispatch_event_time); |
| 76 }; | 78 }; |
| OLD | NEW |