Chromium Code Reviews| Index: chrome/browser/child_process_launcher.h |
| diff --git a/chrome/browser/child_process_launcher.h b/chrome/browser/child_process_launcher.h |
| index 95fb6ea32d95b298bc1dfb2aa6c87ef7d4b65b59..a3add53715020288958b425ae2339db1fa4d4ee5 100644 |
| --- a/chrome/browser/child_process_launcher.h |
| +++ b/chrome/browser/child_process_launcher.h |
| @@ -50,8 +50,11 @@ class ChildProcessLauncher { |
| // Getter for the process handle. Only call after the process has started. |
| base::ProcessHandle GetHandle(); |
| - // Call this when the process exits to know if a process crashed or not. |
| - bool DidProcessCrash(); |
| + // Call this when the child process exits to know what happened to |
| + // it. |exit_code| is the exit code of the process if it exited |
| + // (e.g. status from waitpid if on posix, from GetExitCodeProcess on |
| + // Windows). |exit_code| may be NULL. |
| + base::TerminationStatus GetChildTerminationStatus(int* exit_code); |
|
brettw
2010/12/03 01:01:54
If we move the base function to a static function
|
| // Changes whether the process runs in the background or not. Only call |
| // this after the process has started. |