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 7290592914ee31ce4746b71198b44836ce88040f..e737a20e41df4178689848c85ef481997e71cce1 100644 |
--- a/content/browser/service_worker/service_worker_dispatcher_host.h |
+++ b/content/browser/service_worker/service_worker_dispatcher_host.h |
@@ -31,6 +31,7 @@ class ServiceWorkerVersion; |
struct ServiceWorkerObjectInfo; |
struct ServiceWorkerRegistrationObjectInfo; |
struct ServiceWorkerVersionAttributes; |
+struct TransferredMessagePort; |
class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter { |
public: |
@@ -113,16 +114,14 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter { |
void OnReportConsoleMessage( |
int embedded_worker_id, |
const EmbeddedWorkerHostMsg_ReportConsoleMessage_Params& params); |
- void OnPostMessage(int handle_id, |
- const base::string16& message, |
- const std::vector<int>& sent_message_port_ids); |
void OnIncrementServiceWorkerRefCount(int handle_id); |
void OnDecrementServiceWorkerRefCount(int handle_id); |
void OnIncrementRegistrationRefCount(int registration_handle_id); |
void OnDecrementRegistrationRefCount(int registration_handle_id); |
- void OnPostMessageToWorker(int handle_id, |
- const base::string16& message, |
- const std::vector<int>& sent_message_port_ids); |
+ void OnPostMessageToWorker( |
+ int handle_id, |
+ const base::string16& message, |
+ const std::vector<TransferredMessagePort>& sent_message_ports); |
void OnServiceWorkerObjectDestroyed(int handle_id); |
void OnTerminateWorker(int handle_id); |