Index: content/public/browser/browser_child_process_host_delegate.h |
diff --git a/content/public/browser/browser_child_process_host_delegate.h b/content/public/browser/browser_child_process_host_delegate.h |
index 2efbeab7469c064c85b63ff9cfb0860816d68521..25ff00a4cb4cf45c4476d12b06e5f2ee97062883 100644 |
--- a/content/public/browser/browser_child_process_host_delegate.h |
+++ b/content/public/browser/browser_child_process_host_delegate.h |
@@ -24,6 +24,10 @@ class CONTENT_EXPORT BrowserChildProcessHostDelegate : public IPC::Listener { |
// Called when the process has been started. |
virtual void OnProcessLaunched() {} |
+ // Called if the process failed to launch. In this case the process never |
+ // started so there is no available exit code. |
+ virtual void OnProcessLaunchFailed() {} |
+ |
// Called if the process crashed. |exit_code| is the status returned when the |
// process crashed (for posix, as returned from waitpid(), for Windows, as |
// returned from GetExitCodeProcess()). |