Index: content/browser/message_port_service.h |
diff --git a/content/browser/message_port_service.h b/content/browser/message_port_service.h |
index 1e561b2acab729a4f3bc8067510dba36ccecf0f3..d5e3379d57d7eb724bb937b7b57ef13e51e761c2 100644 |
--- a/content/browser/message_port_service.h |
+++ b/content/browser/message_port_service.h |
@@ -21,7 +21,8 @@ class MessagePortDelegate; |
class CONTENT_EXPORT MessagePortService { |
public: |
- typedef std::vector<std::pair<content::MessagePortMessage, std::vector<int>>> |
+ typedef std::vector<std::pair<content::MessagePortMessage, |
+ std::vector<TransferredMessagePort>>> |
QueuedMessages; |
// Returns the MessagePortService singleton. |
@@ -33,9 +34,10 @@ class CONTENT_EXPORT MessagePortService { |
int* message_port_id); |
void Destroy(int message_port_id); |
void Entangle(int local_message_port_id, int remote_message_port_id); |
- void PostMessage(int sender_message_port_id, |
- const MessagePortMessage& message, |
- const std::vector<int>& sent_message_port_ids); |
+ void PostMessage( |
+ int sender_message_port_id, |
+ const MessagePortMessage& message, |
+ const std::vector<TransferredMessagePort>& sent_message_ports); |
void QueueMessages(int message_port_id); |
void SendQueuedMessages(int message_port_id, |
const QueuedMessages& queued_messages); |
@@ -72,9 +74,10 @@ class CONTENT_EXPORT MessagePortService { |
MessagePortService(); |
~MessagePortService(); |
- void PostMessageTo(int message_port_id, |
- const MessagePortMessage& message, |
- const std::vector<int>& sent_message_port_ids); |
+ void PostMessageTo( |
+ int message_port_id, |
+ const MessagePortMessage& message, |
+ const std::vector<TransferredMessagePort>& sent_message_ports); |
// Handles the details of removing a message port id. Before calling this, |
// verify that the message port id exists. |