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 d5e24d334b438816174073e52f361dd994019d67..e76ad9b1223b8031e27ad1115d9a93d32c8a6b20 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.h |
+++ b/content/browser/renderer_host/render_process_host_impl.h |
@@ -40,6 +40,7 @@ class BrowserDemuxerAndroid; |
class GeolocationDispatcherHost; |
class GpuMessageFilter; |
class MessagePortMessageFilter; |
+class MojoChannelInit; |
class PeerConnectionTrackerHost; |
class RendererMainThread; |
class RenderWidgetHelper; |
@@ -295,6 +296,9 @@ class CONTENT_EXPORT RenderProcessHostImpl |
void SendDisableAecDumpToRenderer(); |
#endif |
+ // Establishes the mojo channel to the renderer. |
+ void CreateMojoChannel(); |
+ |
// The registered IPC listener objects. When this list is empty, we should |
// delete ourselves. |
IDMap<IPC::Listener> listeners_; |
@@ -416,14 +420,18 @@ class CONTENT_EXPORT RenderProcessHostImpl |
base::Callback<void(const std::string&)> webrtc_log_message_callback_; |
#endif |
- // Lives on the browser's ChildThread. |
- base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
- |
// Message filter and dispatcher for screen orientation. |
ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_; |
int worker_ref_count_; |
+ // TODO(sky): remove ifdef, temporary until mac sorted out. |
+#if !defined(OS_MACOSX) |
+ scoped_ptr<MojoChannelInit> mojo_channel_init_; |
+#endif |
+ |
+ base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
+ |
DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
}; |