Chromium Code Reviews| Index: chrome/common/child_process_logging.h |
| diff --git a/chrome/common/child_process_logging.h b/chrome/common/child_process_logging.h |
| index 6b68d8ce95a44b866a783fb0e1793207500270ed..7fe4dd56340d0420b232fe8c58f5063071141cc5 100644 |
| --- a/chrome/common/child_process_logging.h |
| +++ b/chrome/common/child_process_logging.h |
| @@ -79,6 +79,15 @@ void SetActiveExtensions(const std::set<std::string>& extension_ids); |
| // Sets a number of views/tabs opened in this process. |
| void SetNumberOfViews(int number_of_views); |
| +// Sets whether the process should be forcibly crashed when it is exitted. This |
|
rvargas (doing something else)
2012/03/21 03:13:45
nit: 'when it exits' ?
|
| +// is used to intercept unexpected process terminations from calls to exit(), |
| +// abort(), _exit(), ExitProcess(), etc. |
| +// |
| +// To enable this, start by calling with true during startup. Unset it before |
| +// entering normal shutdown codepaths (like returning from main()). Shutdowns |
| +// initiated along any other codepath will result in a crash. |
| +void SetCrashOnExit(bool crash_on_exit); |
| + |
| // Sets the data on the gpu to send along with crash reports. |
| void SetGpuInfo(const content::GPUInfo& gpu_info); |