| 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 7b89e4db210e2ce03cdf5e329b553062c51c5881..7c2de5bbde639534b86580c13f5e01eb696a6a1a 100644
|
| --- a/content/public/browser/message_port_delegate.h
|
| +++ b/content/public/browser/message_port_delegate.h
|
| @@ -17,6 +17,7 @@
|
|
|
| namespace content {
|
| struct MessagePortMessage;
|
| +struct TransferredMessagePort;
|
|
|
| // Delegate used by MessagePortService to send messages to message ports to the
|
| // correct renderer. Delegates are responsible for managing their own lifetime,
|
| @@ -26,9 +27,10 @@ class CONTENT_EXPORT MessagePortDelegate {
|
| public:
|
| // 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 MessagePortMessage& message,
|
| - const std::vector<int>& sent_message_port_ids) = 0;
|
| + virtual void SendMessage(
|
| + int route_id,
|
| + const MessagePortMessage& message,
|
| + const std::vector<TransferredMessagePort>& sent_message_ports) = 0;
|
|
|
| // Requests messages to the given route to be queued.
|
| virtual void SendMessagesAreQueued(int route_id) = 0;
|
|
|