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 23da5be3f9d1c107d25d9b745cdfb6f68a3c4ebc..067ca5dc29bcf243acb11c5ea1738e5b3d5a0ebe 100644 |
--- a/content/browser/utility_process_host_impl.h |
+++ b/content/browser/utility_process_host_impl.h |
@@ -23,6 +23,10 @@ class SequencedTaskRunner; |
class Thread; |
} |
+namespace service_manager { |
+class BinderRegistry; |
+} |
+ |
namespace content { |
class BrowserChildProcessHostImpl; |
class InProcessChildThreadParams; |
@@ -60,6 +64,7 @@ class CONTENT_EXPORT UtilityProcessHostImpl |
void BindInterface(const std::string& interface_name, |
mojo::ScopedMessagePipeHandle interface_pipe) override; |
void SetName(const base::string16& name) override; |
+ void RegisterMojoServices() override; |
void set_child_flags(int flags) { child_flags_ = flags; } |
@@ -81,6 +86,9 @@ class CONTENT_EXPORT UtilityProcessHostImpl |
// Cleans up |this| as a result of a failed Start(). |
void NotifyAndDelete(int error_code); |
+ void RegisterMojoServicesOnUIThread( |
+ service_manager::BinderRegistry* registry); |
+ |
// Notifies the client that the launch failed and deletes |host|. |
static void NotifyLaunchFailedAndDelete( |
base::WeakPtr<UtilityProcessHostImpl> host, |