Index: content/public/browser/message_port_delegate.h |
diff --git a/content/public/browser/message_port_delegate.h b/content/public/browser/message_port_delegate.h |
index df9130a06448ae71c2a2fa9bc77982377808ab93..7b89e4db210e2ce03cdf5e329b553062c51c5881 100644 |
--- a/content/public/browser/message_port_delegate.h |
+++ b/content/public/browser/message_port_delegate.h |
@@ -16,6 +16,7 @@ |
#endif |
namespace content { |
+struct MessagePortMessage; |
// Delegate used by MessagePortService to send messages to message ports to the |
// correct renderer. Delegates are responsible for managing their own lifetime, |
@@ -26,7 +27,7 @@ class CONTENT_EXPORT MessagePortDelegate { |
// Sends a message to the given route. Implementations are responsible for |
// updating MessagePortService with new routes for the sent message ports. |
virtual void SendMessage(int route_id, |
- const base::string16& message, |
+ const MessagePortMessage& message, |
const std::vector<int>& sent_message_port_ids) = 0; |
// Requests messages to the given route to be queued. |