Index: content/browser/utility_process_host_impl.cc |
diff --git a/content/browser/utility_process_host_impl.cc b/content/browser/utility_process_host_impl.cc |
index f6b43bec6aadfa9eb37838196a9c5808b8a6492e..fb8bc964e8d4824de1c5a17bf14b96c929803464 100644 |
--- a/content/browser/utility_process_host_impl.cc |
+++ b/content/browser/utility_process_host_impl.cc |
@@ -26,6 +26,7 @@ |
#include "content/public/browser/content_browser_client.h" |
#include "content/public/browser/utility_process_host_client.h" |
#include "content/public/common/content_switches.h" |
+#include "content/public/common/mojo_channel_switches.h" |
#include "content/public/common/process_type.h" |
#include "content/public/common/sandboxed_process_launcher_delegate.h" |
#include "ipc/ipc_switches.h" |
@@ -222,6 +223,7 @@ bool UtilityProcessHostImpl::StartProcess() { |
channel_id, BrowserThread::UnsafeGetMessageLoopForThread( |
BrowserThread::IO)->task_runner()))); |
in_process_thread_->Start(); |
+ process_->NotifyProcessLaunched(); |
} else { |
const base::CommandLine& browser_command_line = |
*base::CommandLine::ForCurrentProcess(); |
@@ -299,6 +301,10 @@ bool UtilityProcessHostImpl::StartProcess() { |
return true; |
} |
+bool UtilityProcessHostImpl::ShouldUseMojoChannel() { |
+ return content::ShouldUseMojoChannel(); |
+} |
+ |
bool UtilityProcessHostImpl::OnMessageReceived(const IPC::Message& message) { |
if (!client_.get()) |
return true; |