Index: content/browser/utility_process_host_impl.h |
diff --git a/content/browser/utility_process_host_impl.h b/content/browser/utility_process_host_impl.h |
index c310e9b4bf0c200139ac587fc77bf41342ad8355..f8b81ac479667cb4f406a12e1c59e42882b643f9 100644 |
--- a/content/browser/utility_process_host_impl.h |
+++ b/content/browser/utility_process_host_impl.h |
@@ -14,6 +14,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
+#include "content/browser/mojo/mojo_application_host.h" |
#include "content/public/browser/browser_child_process_host_delegate.h" |
#include "content/public/browser/utility_process_host.h" |
@@ -54,6 +55,8 @@ class CONTENT_EXPORT UtilityProcessHostImpl |
#if defined(OS_POSIX) |
void SetEnv(const base::EnvironmentMap& env) override; |
#endif |
+ bool StartMojoMode() override; |
+ ServiceRegistry* GetServiceRegistry() override; |
void set_child_flags(int flags) { child_flags_ = flags; } |
@@ -66,6 +69,7 @@ class CONTENT_EXPORT UtilityProcessHostImpl |
bool OnMessageReceived(const IPC::Message& message) override; |
void OnProcessLaunchFailed() override; |
void OnProcessCrashed(int exit_code) override; |
+ void OnProcessLaunched() override; |
// A pointer to our client interface, who will be informed of progress. |
scoped_refptr<UtilityProcessHostClient> client_; |
@@ -98,6 +102,8 @@ class CONTENT_EXPORT UtilityProcessHostImpl |
// Used in single-process mode instead of process_. |
scoped_ptr<base::Thread> in_process_thread_; |
+ MojoApplicationHost mojo_application_host_; |
+ |
DISALLOW_COPY_AND_ASSIGN(UtilityProcessHostImpl); |
}; |