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; |