Index: content/public/browser/utility_process_host.h |
diff --git a/content/public/browser/utility_process_host.h b/content/public/browser/utility_process_host.h |
index 07f46ee0c7439a8b3514acb9bfd009d4478a1895..f7fadc89e5926484b1b6cd2e32f4c787b6067fd0 100644 |
--- a/content/public/browser/utility_process_host.h |
+++ b/content/public/browser/utility_process_host.h |
@@ -17,6 +17,7 @@ class SequencedTaskRunner; |
} |
namespace content { |
+class ServiceRegistry; |
class UtilityProcessHostClient; |
struct ChildProcessData; |
@@ -72,6 +73,12 @@ class UtilityProcessHost : public IPC::Sender, |
#if defined(OS_POSIX) |
virtual void SetEnv(const base::EnvironmentMap& env) = 0; |
#endif |
+ |
+ // Starts the utility process in Mojo mode. |
+ virtual bool StartMojoMode() = 0; |
+ |
+ // Returns the ServiceRegistry for this process. |
+ virtual ServiceRegistry* GetServiceRegistry() = 0; |
}; |
}; // namespace content |