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

Unified Diff: content/public/child/child_thread.h

Issue 2100693002: Make RenderProcessHost/RenderThread use MojoChildConnection/MojoShellConnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rph2
Patch Set: . Created 4 years, 6 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/common/mojo/mojo_shell_connection_impl.cc ('k') | content/public/common/mojo_shell_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/child/child_thread.h
diff --git a/content/public/child/child_thread.h b/content/public/child/child_thread.h
index 06bb8122a1101f536e1f29afa2f99bc0a8b4337b..d3ad0cec617130654c6c7f181c167120c866f8ec 100644
--- a/content/public/child/child_thread.h
+++ b/content/public/child/child_thread.h
@@ -27,6 +27,8 @@ class InterfaceRegistry;
namespace content {
+ class MojoShellConnection;
+
// An abstract base class that contains logic shared between most child
// processes of the embedder.
class CONTENT_EXPORT ChildThread : public IPC::Sender {
@@ -65,6 +67,10 @@ class CONTENT_EXPORT ChildThread : public IPC::Sender {
// actions in chrome/tools/extract_actions.py.
virtual void RecordComputedAction(const std::string& action) = 0;
+ // Returns the MojoShellConnection for the thread (from which a
+ // shell::Connector can be obtained).
+ virtual MojoShellConnection* GetMojoShellConnection() = 0;
+
// Returns the InterfaceRegistry that this process uses to expose interfaces
// to the browser.
virtual shell::InterfaceRegistry* GetInterfaceRegistry() = 0;
« no previous file with comments | « content/common/mojo/mojo_shell_connection_impl.cc ('k') | content/public/common/mojo_shell_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698