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

Unified Diff: content/public/browser/render_process_host.h

Issue 2310563002: Adds routed interface support between RenderFrameHost and RenderFrame (Closed)
Patch Set: . 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
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

Powered by Google App Engine
This is Rietveld 408576698