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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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(payments.mojom.PaymentAppRequest app_request) |
71 => (blink.mojom.ServiceWorkerEventStatus status, | 71 => (blink.mojom.ServiceWorkerEventStatus status, |
72 mojo.common.mojom.Time dispatch_event_time); | 72 mojo.common.mojom.Time dispatch_event_time); |
73 DispatchExtendableMessageEvent(ExtendableMessageEvent event) | 73 DispatchExtendableMessageEvent(ExtendableMessageEvent event) |
74 => (blink.mojom.ServiceWorkerEventStatus status, | 74 => (blink.mojom.ServiceWorkerEventStatus status, |
75 mojo.common.mojom.Time dispatch_event_time); | 75 mojo.common.mojom.Time dispatch_event_time); |
76 | |
77 // Pings the service worker to check if it is responsive. If the callback is | |
78 // not called within a certain period of time, the browser will terminate the | |
79 // worker. Unlike the other functions in this interface, Ping() does not | |
80 // dispatch an event. | |
81 Ping() => (); | |
falken
2017/03/22 05:46:30
Just to be sure, we are guaranteed Ping() is calle
leonhsl(Using Gerrit)
2017/03/22 06:45:59
From my current knowledge, in browser side SWVersi
shimazu
2017/03/22 06:46:26
Yeah, ServiceWorkerEventDispather is bound after t
| |
76 }; | 82 }; |
OLD | NEW |