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

Unified Diff: ipc/message_router.h

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/ipc_mojo_bootstrap.cc ('k') | ipc/message_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/message_router.h
diff --git a/ipc/message_router.h b/ipc/message_router.h
index db4bc271fc900e9758313e725322841149634dc3..f232896855dc4cbb34032c201bfea224a575621b 100644
--- a/ipc/message_router.h
+++ b/ipc/message_router.h
@@ -59,6 +59,9 @@ class IPC_EXPORT MessageRouter : public Listener, public Sender {
// Called to remove a listener for a particular message routing ID.
void RemoveRoute(int32_t routing_id);
+ // Returns the Listener associated with |routing_id|.
+ Listener* GetRoute(int32_t routing_id);
+
private:
// A list of all listeners with assigned routing IDs.
IDMap<Listener> routes_;
« no previous file with comments | « ipc/ipc_mojo_bootstrap.cc ('k') | ipc/message_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698