| 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 32e342dcdbdc80fe0f9859948cc5dcfe8ca29772..7697f19998f8168189220a4cc20f753086b4bd1c 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.h
|
| +++ b/content/browser/renderer_host/render_process_host_impl.h
|
| @@ -15,8 +15,10 @@
|
| #include "base/timer/timer.h"
|
| #include "content/browser/child_process_launcher.h"
|
| #include "content/browser/dom_storage/session_storage_namespace_impl.h"
|
| +#include "content/browser/mojo/mojo_application_host.h"
|
| #include "content/browser/power_monitor_message_broadcaster.h"
|
| #include "content/common/content_export.h"
|
| +#include "content/common/mojo/service_registry_impl.h"
|
| #include "content/public/browser/gpu_data_manager_observer.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "ipc/ipc_channel_proxy.h"
|
| @@ -45,13 +47,11 @@ class AudioRendererHost;
|
| class BrowserDemuxerAndroid;
|
| class GpuMessageFilter;
|
| class MessagePortMessageFilter;
|
| -class MojoApplicationHost;
|
| #if defined(ENABLE_WEBRTC)
|
| class P2PSocketDispatcherHost;
|
| #endif
|
| class PeerConnectionTrackerHost;
|
| class RendererMainThread;
|
| -class RenderProcessHostMojoImpl;
|
| class RenderWidgetHelper;
|
| class RenderWidgetHost;
|
| class RenderWidgetHostImpl;
|
| @@ -143,6 +143,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id)
|
| OVERRIDE;
|
| virtual void NotifyTimezoneChange() OVERRIDE;
|
| + virtual ServiceRegistry* GetServiceRegistry() OVERRIDE;
|
|
|
| // IPC::Sender via RenderProcessHost.
|
| virtual bool Send(IPC::Message* msg) OVERRIDE;
|
| @@ -250,18 +251,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| void IncrementWorkerRefCount();
|
| void DecrementWorkerRefCount();
|
|
|
| - // Establish a connection to a renderer-provided service. See
|
| - // content/common/mojo/mojo_service_names.h for a list of services.
|
| - void ConnectTo(const base::StringPiece& service_name,
|
| - mojo::ScopedMessagePipeHandle handle);
|
| -
|
| - template <typename Interface>
|
| - void ConnectTo(const base::StringPiece& service_name,
|
| - mojo::InterfacePtr<Interface>* ptr) {
|
| - mojo::MessagePipe pipe;
|
| - ptr->Bind(pipe.handle0.Pass());
|
| - ConnectTo(service_name, pipe.handle1.Pass());
|
| - }
|
| + // Activates mojo for this process.
|
| + void ActivateMojo();
|
|
|
| protected:
|
| // A proxy for our IPC::Channel that lives on the IO thread (see
|
|
|