| Index: content/browser/browser_child_process_host_impl.h
|
| diff --git a/content/browser/browser_child_process_host_impl.h b/content/browser/browser_child_process_host_impl.h
|
| index 6345595a14e275790c96c67c0fec7456ebf726e0..435eb7f1ec85de175cd5a7d6fa65cd4e26391db5 100644
|
| --- a/content/browser/browser_child_process_host_impl.h
|
| +++ b/content/browser/browser_child_process_host_impl.h
|
| @@ -45,6 +45,7 @@ class CONTENT_EXPORT BrowserChildProcessHostImpl
|
| virtual void Launch(
|
| #if defined(OS_WIN)
|
| SandboxedProcessLauncherDelegate* delegate,
|
| + bool launch_elevated,
|
| #elif defined(OS_POSIX)
|
| bool use_zygote,
|
| const base::EnvironmentMap& environ,
|
| @@ -57,10 +58,6 @@ class CONTENT_EXPORT BrowserChildProcessHostImpl
|
| virtual void SetName(const string16& name) OVERRIDE;
|
| virtual void SetHandle(base::ProcessHandle handle) OVERRIDE;
|
|
|
| - // Returns the handle of the child process. This can be called only after
|
| - // OnProcessLaunched is called or it will be invalid and may crash.
|
| - base::ProcessHandle GetHandle() const;
|
| -
|
| // Removes this host from the host list. Calls ChildProcessHost::ForceShutdown
|
| void ForceShutdown();
|
|
|
| @@ -95,9 +92,11 @@ class CONTENT_EXPORT BrowserChildProcessHostImpl
|
| virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
|
| virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
|
| virtual void OnChannelError() OVERRIDE;
|
| + virtual base::ProcessHandle GetHandle() const OVERRIDE;
|
|
|
| // ChildProcessLauncher::Client implementation.
|
| virtual void OnProcessLaunched() OVERRIDE;
|
| + virtual void OnProcessLaunchFailed() OVERRIDE;
|
|
|
| #if defined(OS_WIN)
|
| void DeleteProcessWaitableEvent(base::WaitableEvent* event);
|
|
|