Index: content/public/renderer/render_frame.h |
diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h |
index 0ac29c8eecdab5aaa8ebc77b1f0e2422197520f6..a49a2c4e1516450fd2a3997444ae44da9164e9db 100644 |
--- a/content/public/renderer/render_frame.h |
+++ b/content/public/renderer/render_frame.h |
@@ -50,6 +50,8 @@ class Isolate; |
} |
namespace content { |
+class AssociatedInterfaceProvider; |
+class AssociatedInterfaceRegistry; |
class ContextMenuClient; |
class PluginInstanceThrottler; |
class RenderAccessibility; |
@@ -155,6 +157,15 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener, |
// interfaces exposed to it by the application running in this frame. |
virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0; |
+ // Returns the AssociatedInterfaceRegistry this frame can use to expose |
+ // frame-specific Channel-associated interfaces to the remote RenderFrameHost. |
+ virtual AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry() = 0; |
+ |
+ // Returns the AssociatedInterfaceProvider this frame can use to access |
+ // frame-specific Channel-assocaited interfaces from the remote |
+ // RenderFrameHost. |
+ virtual AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() = 0; |
+ |
#if defined(ENABLE_PLUGINS) |
// Registers a plugin that has been marked peripheral. If the origin |
// whitelist is later updated and includes |content_origin|, then |