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 a892ac6932f4bab7bd2120b2b7d397bc2b2a1c17..d89a66a32e8607e2d495524604152d73b3057b53 100644 |
--- a/content/browser/service_worker/service_worker_version.h |
+++ b/content/browser/service_worker/service_worker_version.h |
@@ -56,6 +56,7 @@ class HttpResponseInfo; |
namespace content { |
+class MessagePort; |
class ServiceWorkerContextCore; |
class ServiceWorkerProviderHost; |
class ServiceWorkerRegistration; |
@@ -658,9 +659,10 @@ class CONTENT_EXPORT ServiceWorkerVersion |
void OnClearCachedMetadata(const GURL& url); |
void OnClearCachedMetadataFinished(int64_t callback_id, int result); |
- void OnPostMessageToClient(const std::string& client_uuid, |
- const base::string16& message, |
- const std::vector<int>& sent_message_ports); |
+ void OnPostMessageToClient( |
+ const std::string& client_uuid, |
+ const base::string16& message, |
+ const std::vector<MessagePort>& sent_message_ports); |
void OnFocusClient(int request_id, const std::string& client_uuid); |
void OnNavigateClient(int request_id, |
const std::string& client_uuid, |