| Index: content/browser/renderer_host/render_process_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
|
| index c3aa8187f4a44e2c60d26c5d37ea9ad13d17ae84..4fa12011c1e6d6baeca4ed6dc84352d1997e05a4 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.h
|
| +++ b/content/browser/renderer_host/render_process_host_impl.h
|
| @@ -55,6 +55,7 @@ class InProcessChildThreadParams;
|
| class MessagePortMessageFilter;
|
| class MojoChildConnection;
|
| class NotificationMessageFilter;
|
| +class OwnedInterface;
|
| #if defined(ENABLE_WEBRTC)
|
| class P2PSocketDispatcherHost;
|
| #endif
|
| @@ -136,6 +137,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| bool SuddenTerminationAllowed() const override;
|
| IPC::ChannelProxy* GetChannel() override;
|
| void AddFilter(BrowserMessageFilter* filter) override;
|
| + void AddOwnedInterface(std::unique_ptr<OwnedInterface> impl) override;
|
| bool FastShutdownForPageCount(size_t count) override;
|
| bool FastShutdownStarted() const override;
|
| base::TimeDelta GetChildProcessIdleTime() const override;
|
| @@ -362,6 +364,11 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
|
|
| std::string child_token_;
|
|
|
| + // Services owned by this host for the purpose of service impl lifetime
|
| + // management. These need to outlive |mojo_child_connection_|, as they are
|
| + // registered on the |InterfaceRegistry| indirectly owned by that object.
|
| + std::vector<std::unique_ptr<OwnedInterface>> owned_interface_impls_;
|
| +
|
| std::unique_ptr<MojoChildConnection> mojo_child_connection_;
|
| shell::mojom::ServicePtr test_service_;
|
|
|
|
|