| Index: content/renderer/render_frame_impl.cc
|
| diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
|
| index f9d0eaa00441bd7fc87a7a223e37e880342bac11..c62de3fa2ae3193f0dfb6b7d2f903bb5d7868a48 100644
|
| --- a/content/renderer/render_frame_impl.cc
|
| +++ b/content/renderer/render_frame_impl.cc
|
| @@ -46,6 +46,7 @@
|
| #include "content/child/webmessageportchannel_impl.h"
|
| #include "content/child/weburlresponse_extradata_impl.h"
|
| #include "content/common/accessibility_messages.h"
|
| +#include "content/common/associated_interface_provider_impl.h"
|
| #include "content/common/clipboard_messages.h"
|
| #include "content/common/content_constants_internal.h"
|
| #include "content/common/content_security_policy_header.h"
|
| @@ -2402,6 +2403,22 @@ shell::InterfaceProvider* RenderFrameImpl::GetRemoteInterfaces() {
|
| return remote_interfaces_.get();
|
| }
|
|
|
| +AssociatedInterfaceRegistry*
|
| +RenderFrameImpl::GetAssociatedInterfaceRegistry() {
|
| + return &associated_interfaces_;
|
| +}
|
| +
|
| +AssociatedInterfaceProvider*
|
| +RenderFrameImpl::GetRemoteAssociatedInterfaces() {
|
| + if (!remote_associated_interfaces_) {
|
| + RenderThread* render_thread = RenderThread::Get();
|
| + remote_associated_interfaces_.reset(new AssociatedInterfaceProviderImpl(
|
| + *render_thread->GetChannel()->GetAssociatedGroup(),
|
| + render_thread->GetRemoteRouteProvider(), GetRoutingID()));
|
| + }
|
| + return remote_associated_interfaces_.get();
|
| +}
|
| +
|
| #if defined(ENABLE_PLUGINS)
|
| void RenderFrameImpl::RegisterPeripheralPlugin(
|
| const url::Origin& content_origin,
|
|
|