diff options
Diffstat (limited to 'chrome/browser/child_process_launcher.h')
-rw-r--r-- | chrome/browser/child_process_launcher.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/chrome/browser/child_process_launcher.h b/chrome/browser/child_process_launcher.h index 01c5d16..ce1c04d 100644 --- a/chrome/browser/child_process_launcher.h +++ b/chrome/browser/child_process_launcher.h @@ -21,11 +21,6 @@ class ChildProcessLauncher { // Will be called on the thread that the ChildProcessLauncher was // constructed on. virtual void OnProcessLaunched() = 0; - - // Called as a response to DetermineDidProcessCrash on the thread that - // the ChildProcessLauncher was constructed on. This may be called - // during DetermineDidProcessCrash or asynchronously. - virtual void OnDidProcessCrashDetermined(bool did_crash) = 0; }; // Launches the process asynchronously, calling the client when the result is @@ -51,10 +46,8 @@ class ChildProcessLauncher { // Getter for the process handle. Only call after the process has started. base::ProcessHandle GetHandle(); - // Determines whether the exited process crashed or exited normally. - // The Client's OnDidProcessCrashDetermined method will be called with the - // answer. - void DetermineDidProcessCrash(); + // Call this when the process exits to know if a process crashed or not. + bool DidProcessCrash(); // Changes whether the process runs in the background or not. Only call // this after the process has started. |