Index: content/child/webmessageportchannel_impl.h |
diff --git a/content/child/webmessageportchannel_impl.h b/content/child/webmessageportchannel_impl.h |
index e737fc31fe3976b0076eed07def99a3ab2dd5e03..1fe46e8faa3317980a88a269eae24a4625a89900 100644 |
--- a/content/child/webmessageportchannel_impl.h |
+++ b/content/child/webmessageportchannel_impl.h |
@@ -33,6 +33,11 @@ class WebMessagePortChannelImpl |
int message_port_id, |
base::MessageLoopProxy* child_thread_loop); |
+ // Extracts port IDs for passing on to the browser process, and queues any |
+ // received messages. Takes ownership of the passed array (and deletes it). |
+ static std::vector<int> ExtractMessagePortIDs( |
+ blink::WebMessagePortChannelArray* channels); |
+ |
// Queues received and incoming messages until there are no more in-flight |
// messages, then sends all of them to the browser process. |
void QueueMessages(); |