Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / content / browser / message_port_message_filter.h
index 5cc191e..a324ad8 100644 (file)
@@ -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();