| Index: content/browser/service_worker/service_worker_dispatcher_host.h
|
| diff --git a/content/browser/service_worker/service_worker_dispatcher_host.h b/content/browser/service_worker/service_worker_dispatcher_host.h
|
| index 4b1fb949390db52ae92f6af8b3722f9b91e123b3..e1f57d02aa314e9841cef85eb2f8cc2fecd69dd3 100644
|
| --- a/content/browser/service_worker/service_worker_dispatcher_host.h
|
| +++ b/content/browser/service_worker/service_worker_dispatcher_host.h
|
| @@ -154,6 +154,23 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter {
|
|
|
| void OnTerminateWorker(int handle_id);
|
|
|
| + template <typename SourceInfo>
|
| + void DispatchExtendableMessageEvent(
|
| + scoped_refptr<ServiceWorkerVersion> worker,
|
| + const base::string16& message,
|
| + const url::Origin& source_origin,
|
| + const std::vector<TransferredMessagePort>& sent_message_ports,
|
| + const SourceInfo& source_info);
|
| + void DispatchExtendableMessageEventAfterStartWorker(
|
| + scoped_refptr<ServiceWorkerVersion> worker,
|
| + const base::string16& message,
|
| + const url::Origin& source_origin,
|
| + const std::vector<TransferredMessagePort>& sent_message_ports,
|
| + const ExtendableMessageEventSource& source);
|
| + void DidFailToDispatchExtendableMessageEvent(
|
| + const std::vector<TransferredMessagePort>& sent_message_ports,
|
| + ServiceWorkerStatusCode status);
|
| +
|
| ServiceWorkerRegistrationHandle* FindRegistrationHandle(
|
| int provider_id,
|
| int64_t registration_handle_id);
|
|
|