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

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

Issue 1067733006: Add extra parameter to BrowserChildProcessCrashed to pass the exit_code at time of crash/termination (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review comments Created 5 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
« no previous file with comments | « content/browser/mach_broker_mac.mm ('k') | content/public/browser/child_process_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_child_process_observer.h
diff --git a/content/public/browser/browser_child_process_observer.h b/content/public/browser/browser_child_process_observer.h
index 41c9c9d5b083c0c852f3ec5606dab714b9390163..002ec8556bb63b9ace73f63a2381093cd6403db6 100644
--- a/content/public/browser/browser_child_process_observer.h
+++ b/content/public/browser/browser_child_process_observer.h
@@ -24,7 +24,9 @@ class CONTENT_EXPORT BrowserChildProcessObserver {
const ChildProcessData& data) {}
// Called when a child process disappears unexpectedly as a result of a crash.
- virtual void BrowserChildProcessCrashed(const ChildProcessData& data) {}
+ // |exit_code| contains the exit code from the process.
+ virtual void BrowserChildProcessCrashed(const ChildProcessData& data,
+ int exit_code) {}
// Called when an instance of a particular child is created in a page. If one
// page contains several regions rendered by the same child, this will be
« no previous file with comments | « content/browser/mach_broker_mac.mm ('k') | content/public/browser/child_process_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698