Index: content/public/browser/render_process_host.h |
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h |
index 47a31a45b0ed358642ef2b3eab079db44ef228ea..f2cd9bcdc1e5bcb8d4ee8704bbbb73b9205668f9 100644 |
--- a/content/public/browser/render_process_host.h |
+++ b/content/public/browser/render_process_host.h |
@@ -16,6 +16,7 @@ |
#include "base/process/process_handle.h" |
#include "base/supports_user_data.h" |
#include "content/common/content_export.h" |
+#include "content/public/common/associated_interfaces.mojom.h" |
#include "ipc/ipc_channel_proxy.h" |
#include "ipc/ipc_sender.h" |
#include "ui/gfx/native_widget_types.h" |
@@ -266,6 +267,10 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender, |
// interfaces exposed to it from the renderer. |
virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0; |
+ // Returns the mojom::RouteProvider the browser process can use to connect |
+ // to routed interfaces in the renderer. |
+ virtual mojom::RouteProvider* GetRemoteRouteProvider() = 0; |
Sam McNally
2016/09/09 05:33:14
Does this need to be public?
Ken Rockot(use gerrit already)
2016/09/09 16:01:50
Nope. Good call. Fixed.
|
+ |
// Extracts any persistent-memory-allocator used for renderer metrics. |
// Ownership is passed to the caller. To support sharing of histogram data |
// between the Renderer and the Browser, the allocator is created when the |