| Index: content/browser/service_worker/service_worker_version.h
|
| diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
|
| index cdc829b82b5297390ff3c486b86679177451ea16..43aaf20f9040282a47b9ab5878fecf389918e7d4 100644
|
| --- a/content/browser/service_worker/service_worker_version.h
|
| +++ b/content/browser/service_worker/service_worker_version.h
|
| @@ -255,6 +255,7 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
| // of crbug.com/570820 after ExtendableMessageEvent is implemented
|
| // (crbug.com/543198).
|
| void DispatchExtendableMessageEvent(
|
| + ServiceWorkerProviderHost* sender_provider_host,
|
| const base::string16& message,
|
| const std::vector<TransferredMessagePort>& sent_message_ports,
|
| const StatusCallback& callback);
|
| @@ -516,9 +517,16 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
|
|
| void OnStartSentAndScriptEvaluated(ServiceWorkerStatusCode status);
|
|
|
| + template <typename SourceInfo>
|
| + void DispatchExtendableMessageEventInternal(
|
| + const base::string16& message,
|
| + const std::vector<TransferredMessagePort>& sent_message_ports,
|
| + const StatusCallback& callback,
|
| + const SourceInfo& source_info);
|
| void DispatchExtendableMessageEventAfterStartWorker(
|
| const base::string16& message,
|
| const std::vector<TransferredMessagePort>& sent_message_ports,
|
| + const ExtendableMessageEventSource& source,
|
| const StatusCallback& callback);
|
|
|
| void DispatchMessageEventInternal(
|
|
|