Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1579)

Unified Diff: content/public/browser/render_process_host_observer.h

Issue 1923653002: Wire up process launch error codes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix debug and clang Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/render_process_host_observer.h
diff --git a/content/public/browser/render_process_host_observer.h b/content/public/browser/render_process_host_observer.h
index 2a0391329984da02ce75cc545f5ea1500aefe581..100bee675b3ddaccea92ac594c0fa1e13ec26f8d 100644
--- a/content/public/browser/render_process_host_observer.h
+++ b/content/public/browser/render_process_host_observer.h
@@ -42,6 +42,10 @@ class CONTENT_EXPORT RenderProcessHostObserver {
// active renderer process for the top-level frame; for code that needs to be
// a WebContentsObserver anyway, consider whether that API might be a better
// choice.
+ //
+ // If |status| is TERMINATION_STATUS_LAUNCH_FAILED then |exit_code| will
+ // contain a platform specific launch failure error code. Otherwise, it will
+ // contain the exit code for the process.
virtual void RenderProcessExited(RenderProcessHost* host,
base::TerminationStatus status,
int exit_code) {}
« no previous file with comments | « content/public/browser/browser_child_process_host_delegate.h ('k') | content/public/browser/utility_process_host_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698