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..5a0f0127ab88c2648fcd16c7e4e506d418d6b4d4 100644 |
--- a/content/public/renderer/render_frame.h |
+++ b/content/public/renderer/render_frame.h |
@@ -15,6 +15,7 @@ |
#include "content/public/common/console_message_level.h" |
#include "ipc/ipc_listener.h" |
#include "ipc/ipc_sender.h" |
+#include "ipc/ipc_sync_channel.h" |
jam
2016/09/14 17:05:06
nit: not needed
jam
2016/09/14 17:05:58
oops, ignore this was from an earlier patchset and
|
#include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
#include "third_party/WebKit/public/web/WebNavigationPolicy.h" |
@@ -50,6 +51,8 @@ class Isolate; |
} |
namespace content { |
+class AssociatedInterfaceProvider; |
+class AssociatedInterfaceRegistry; |
class ContextMenuClient; |
class PluginInstanceThrottler; |
class RenderAccessibility; |
@@ -155,6 +158,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 |