| Index: content/browser/browser_child_process_host_impl.cc
|
| diff --git a/content/browser/browser_child_process_host_impl.cc b/content/browser/browser_child_process_host_impl.cc
|
| index 8e6bde3b0abb07daf0e2c09253c36dfce86b38e8..feb340f66fee0d711594692d7b886cbac4d3131c 100644
|
| --- a/content/browser/browser_child_process_host_impl.cc
|
| +++ b/content/browser/browser_child_process_host_impl.cc
|
| @@ -131,6 +131,7 @@ void BrowserChildProcessHostImpl::TerminateAll() {
|
| void BrowserChildProcessHostImpl::Launch(
|
| #if defined(OS_WIN)
|
| SandboxedProcessLauncherDelegate* delegate,
|
| + bool launch_elevated,
|
| #elif defined(OS_POSIX)
|
| bool use_zygote,
|
| const base::EnvironmentMap& environ,
|
| @@ -163,6 +164,7 @@ void BrowserChildProcessHostImpl::Launch(
|
| child_process_.reset(new ChildProcessLauncher(
|
| #if defined(OS_WIN)
|
| delegate,
|
| + launch_elevated,
|
| #elif defined(OS_POSIX)
|
| use_zygote,
|
| environ,
|
| @@ -313,6 +315,11 @@ bool BrowserChildProcessHostImpl::Send(IPC::Message* message) {
|
| return child_process_host_->Send(message);
|
| }
|
|
|
| +void BrowserChildProcessHostImpl::OnProcessLaunchFailed() {
|
| + delegate_->OnProcessLaunchFailed();
|
| + delete delegate_; // Will delete us
|
| +}
|
| +
|
| void BrowserChildProcessHostImpl::OnProcessLaunched() {
|
| base::ProcessHandle handle = child_process_->GetHandle();
|
| if (!handle) {
|
|
|