Index: content/public/browser/render_frame_host.h |
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h |
index a3a88636f2c87e8dda41c233d5f9090288b23c4d..e259c5f522276b063ab7ceb42753c0201bef2969 100644 |
--- a/content/public/browser/render_frame_host.h |
+++ b/content/public/browser/render_frame_host.h |
@@ -30,6 +30,8 @@ class InterfaceProvider; |
} |
namespace content { |
+class AssociatedInterfaceProvider; |
+class AssociatedInterfaceRegistry; |
class RenderProcessHost; |
class RenderViewHost; |
class RenderWidgetHostView; |
@@ -191,6 +193,14 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, |
// interfaces exposed to it by the application running in this frame. |
virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0; |
+ // Returns the AssociatedInterfaceRegistry for this frame. This can be used |
+ // to add frame-specific Channel-associated interfaces to this frame. |
+ virtual AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry() = 0; |
+ |
+ // Returns the AssociatedInterfaceProvider that this process can use to access |
+ // remote frame-specific Channel-associated interfaces for this frame. |
+ virtual AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() = 0; |
+ |
// Returns the visibility state of the frame. The different visibility states |
// of a frame are defined in Blink. |
virtual blink::WebPageVisibilityState GetVisibilityState() = 0; |