Index: content/browser/message_port_message_filter.h |
diff --git a/content/browser/message_port_message_filter.h b/content/browser/message_port_message_filter.h |
index 5cc191ec934e9e208404ded30a215abe35ea49b7..a324ad800098df15a34322c5630c17db8c9e8388 100644 |
--- a/content/browser/message_port_message_filter.h |
+++ b/content/browser/message_port_message_filter.h |
@@ -29,6 +29,12 @@ class CONTENT_EXPORT MessagePortMessageFilter : public BrowserMessageFilter { |
int GetNextRoutingID(); |
+ // Updates message ports registered for |message_port_ids| and returns |
+ // new routing IDs for the updated ports via |new_routing_ids|. |
+ void UpdateMessagePortsWithNewRoutes( |
+ const std::vector<int>& message_port_ids, |
+ std::vector<int>* new_routing_ids); |
+ |
protected: |
// This is protected, so we can define sub classes for testing. |
virtual ~MessagePortMessageFilter(); |