diff options
author | ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2011-11-11 19:05:51 +0000 |
---|---|---|
committer | ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2011-11-11 19:05:51 +0000 |
commit | 06cede988b4d15b4d6b7e759fda676bfe3455682 (patch) | |
tree | fbe6cc1e33d29d251cf912aac1f35a5e7d823274 /src/client/windows/crash_generation/client_info.h | |
parent | Correct leak. (diff) | |
download | breakpad-06cede988b4d15b4d6b7e759fda676bfe3455682.tar.xz |
Allow CrashGenerationClient to request that a dump of the parent process be written.
A=Jim Mathies <jmathies@mozilla.com> R=ted at https://bugzilla.mozilla.org/show_bug.cgi?id=679238
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@883 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows/crash_generation/client_info.h')
-rw-r--r-- | src/client/windows/crash_generation/client_info.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/client/windows/crash_generation/client_info.h b/src/client/windows/crash_generation/client_info.h index 47a5d21f..6a8e0b94 100644 --- a/src/client/windows/crash_generation/client_info.h +++ b/src/client/windows/crash_generation/client_info.h @@ -65,6 +65,7 @@ class ClientInfo { HANDLE process_handle() const { return process_handle_; } HANDLE dump_requested_handle() const { return dump_requested_handle_; } HANDLE dump_generated_handle() const { return dump_generated_handle_; } + HANDLE parent_dump_requested_handle() const { return parent_dump_requested_handle_; } HANDLE dump_request_wait_handle() const { return dump_request_wait_handle_; @@ -82,6 +83,14 @@ class ClientInfo { process_exit_wait_handle_ = value; } + HANDLE parent_dump_request_wait_handle() const { + return parent_dump_request_wait_handle_; + } + + void set_parent_dump_request_wait_handle(HANDLE value) { + parent_dump_request_wait_handle_ = value; + } + // Unregister all waits for the client. void UnregisterWaits(); @@ -150,12 +159,18 @@ class ClientInfo { // Dump generated event handle. HANDLE dump_generated_handle_; + // Parent dump request event handle. + HANDLE parent_dump_requested_handle_; + // Wait handle for dump request event. HANDLE dump_request_wait_handle_; // Wait handle for process exit event. HANDLE process_exit_wait_handle_; + // Wait handle for parent dump request event. + HANDLE parent_dump_request_wait_handle_; + // Time when the client process started. It is used to determine the uptime // for the client process when it signals a crash. FILETIME start_time_; |