Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 195993010: Adds the ability for the renderer to create the mojo channel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use_mojo Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/DEPS ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4e0559c724f6656586d1759e2ee86a206b5535a9..1fc85d202c7c796d0ba648c551d76f0abeb30b6b 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -50,6 +50,10 @@ class ScreenOrientationDispatcherHost;
class StoragePartition;
class StoragePartitionImpl;
+#if defined(USE_MOJO)
+class MojoChannelInit;
+#endif
+
// Implements a concrete RenderProcessHost for the browser process for talking
// to actual renderer processes (as opposed to mocks).
//
@@ -296,6 +300,11 @@ class CONTENT_EXPORT RenderProcessHostImpl
void SendDisableAecDumpToRenderer();
#endif
+#if defined(USE_MOJO)
+ // Establishes the mojo channel to the renderer.
+ void CreateMojoChannel();
+#endif
+
// The registered IPC listener objects. When this list is empty, we should
// delete ourselves.
IDMap<IPC::Listener> listeners_;
@@ -417,14 +426,17 @@ 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_;
+#if defined(USE_MOJO)
+ scoped_ptr<MojoChannelInit> mojo_channel_init_;
+#endif
+
+ base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
};
« no previous file with comments | « content/DEPS ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698