| Index: content/renderer/render_frame_impl.h
|
| diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
|
| index 2b4fbe0310866e4281422e2b587ac4072fe2104a..4b47ecfc2164d5e44a3d1097aaa15b0195ead83b 100644
|
| --- a/content/renderer/render_frame_impl.h
|
| +++ b/content/renderer/render_frame_impl.h
|
| @@ -14,6 +14,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/observer_list.h"
|
| #include "base/process/process_handle.h"
|
| +#include "content/common/mojo/service_registry_impl.h"
|
| #include "content/public/common/javascript_message_type.h"
|
| #include "content/public/common/referrer.h"
|
| #include "content/public/renderer/render_frame.h"
|
| @@ -226,6 +227,7 @@ class CONTENT_EXPORT RenderFrameImpl
|
| blink::WebNavigationPolicy policy) OVERRIDE;
|
| virtual void ExecuteJavaScript(const base::string16& javascript) OVERRIDE;
|
| virtual bool IsHidden() OVERRIDE;
|
| + virtual ServiceRegistry* GetServiceRegistry() OVERRIDE;
|
|
|
| // blink::WebFrameClient implementation:
|
| virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame,
|
| @@ -545,6 +547,10 @@ class CONTENT_EXPORT RenderFrameImpl
|
| RendererCdmManager* GetCdmManager();
|
| #endif
|
|
|
| + // Initializes the ServiceRegistry for this frame by binding it to the
|
| + // corresponding host ServiceRegistry.
|
| + void InitializeServiceRegistry();
|
| +
|
| // Stores the WebLocalFrame we are associated with.
|
| blink::WebLocalFrame* frame_;
|
|
|
| @@ -621,6 +627,8 @@ class CONTENT_EXPORT RenderFrameImpl
|
| // The geolocation dispatcher attached to this view, lazily initialized.
|
| GeolocationDispatcher* geolocation_dispatcher_;
|
|
|
| + ServiceRegistryImpl service_registry_;
|
| +
|
| base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
|
|
|