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
This commit is contained in:
ted.mielczarek
2011-11-11 19:05:51 +00:00
parent a8d599dc00
commit 06cede988b
13 changed files with 208 additions and 4 deletions

View File

@@ -110,6 +110,7 @@ struct ProtocolMessage {
custom_client_info(),
dump_request_handle(NULL),
dump_generated_handle(NULL),
parent_dump_request_handle(NULL),
server_alive_handle(NULL) {
}
@@ -122,6 +123,7 @@ struct ProtocolMessage {
MDRawAssertionInfo* arg_assert_info,
const CustomClientInfo& custom_info,
HANDLE arg_dump_request_handle,
HANDLE arg_parent_dump_request_handle,
HANDLE arg_dump_generated_handle,
HANDLE arg_server_alive)
: tag(arg_tag),
@@ -132,6 +134,7 @@ struct ProtocolMessage {
assert_info(arg_assert_info),
custom_client_info(custom_info),
dump_request_handle(arg_dump_request_handle),
parent_dump_request_handle(arg_parent_dump_request_handle),
dump_generated_handle(arg_dump_generated_handle),
server_alive_handle(arg_server_alive) {
}
@@ -161,6 +164,9 @@ struct ProtocolMessage {
// Handle to signal the crash event.
HANDLE dump_request_handle;
// Handle to signal a request for a server side minidump.
HANDLE parent_dump_request_handle;
// Handle to check if server is done generating crash.
HANDLE dump_generated_handle;