Index: chrome/browser/browser_child_process_host.h |
=================================================================== |
--- chrome/browser/browser_child_process_host.h (revision 67903) |
+++ chrome/browser/browser_child_process_host.h (working copy) |
@@ -73,6 +73,10 @@ |
#endif |
CommandLine* cmd_line); |
+ // Returns the handle of the child process. This must be called only after |
+ // OnProcessLaunched is called or it will be invalid and may crash. |
+ base::ProcessHandle GetChildProcessHandle() const; |
+ |
// ChildProcessLauncher::Client implementation. |
virtual void OnProcessLaunched() { } |