Index: ipc/message_router.cc |
diff --git a/ipc/message_router.cc b/ipc/message_router.cc |
index aaf4a1f7d8db17f5dcae0822f83fe9600364feb6..edc1a86f2ba89d782b5d9beff95c0e09efa610ba 100644 |
--- a/ipc/message_router.cc |
+++ b/ipc/message_router.cc |
@@ -37,6 +37,10 @@ void MessageRouter::RemoveRoute(int32_t routing_id) { |
routes_.Remove(routing_id); |
} |
+Listener* MessageRouter::GetRoute(int32_t routing_id) { |
+ return routes_.Lookup(routing_id); |
+} |
+ |
bool MessageRouter::OnMessageReceived(const IPC::Message& msg) { |
if (msg.routing_id() == MSG_ROUTING_CONTROL) |
return OnControlMessageReceived(msg); |