Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2179)

Unified Diff: ipc/message_router.cc

Issue 2310563002: Adds routed interface support between RenderFrameHost and RenderFrame (Closed)
Patch Set: nit Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/message_router.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ipc/message_router.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698