aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows/crash_generation/client_info.cc
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-11-28 19:17:41 +0000
committermark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-11-28 19:17:41 +0000
commit06c856fd6762fc886edd031aad94e6ca4b2064a5 (patch)
treef69024e635cac4b15979d7adeacf9b0a7d3d0c05 /src/client/windows/crash_generation/client_info.cc
parentFix some comments and parameter names. (diff)
downloadbreakpad-06c856fd6762fc886edd031aad94e6ca4b2064a5.tar.xz
Speculative back-out of r883, which may have broken Windows crash reporting.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@891 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows/crash_generation/client_info.cc')
-rw-r--r--src/client/windows/crash_generation/client_info.cc23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/client/windows/crash_generation/client_info.cc b/src/client/windows/crash_generation/client_info.cc
index 12f4bb30..94f9c3cd 100644
--- a/src/client/windows/crash_generation/client_info.cc
+++ b/src/client/windows/crash_generation/client_info.cc
@@ -50,8 +50,6 @@ ClientInfo::ClientInfo(CrashGenerationServer* crash_server,
thread_id_(thread_id),
process_handle_(NULL),
dump_requested_handle_(NULL),
- parent_dump_requested_handle_(NULL),
- parent_dump_request_wait_handle_(NULL),
dump_generated_handle_(NULL),
dump_request_wait_handle_(NULL),
process_exit_wait_handle_(NULL) {
@@ -72,14 +70,6 @@ bool ClientInfo::Initialize() {
return false;
}
- parent_dump_requested_handle_ = CreateEvent(NULL, // Security attributes.
- TRUE, // Manual reset.
- FALSE, // Initial state.
- NULL); // Name.
- if (!parent_dump_requested_handle_) {
- return false;
- }
-
dump_generated_handle_ = CreateEvent(NULL, // Security attributes.
TRUE, // Manual reset.
FALSE, // Initial state.
@@ -98,10 +88,6 @@ ClientInfo::~ClientInfo() {
UnregisterWaitEx(process_exit_wait_handle_, INVALID_HANDLE_VALUE);
}
- if (parent_dump_request_wait_handle_) {
- UnregisterWaitEx(parent_dump_request_wait_handle_, INVALID_HANDLE_VALUE);
- }
-
if (process_handle_) {
CloseHandle(process_handle_);
}
@@ -110,10 +96,6 @@ ClientInfo::~ClientInfo() {
CloseHandle(dump_requested_handle_);
}
- if (parent_dump_requested_handle_) {
- CloseHandle(parent_dump_requested_handle_);
- }
-
if (dump_generated_handle_) {
CloseHandle(dump_generated_handle_);
}
@@ -125,11 +107,6 @@ void ClientInfo::UnregisterWaits() {
dump_request_wait_handle_ = NULL;
}
- if (parent_dump_request_wait_handle_) {
- UnregisterWait(parent_dump_request_wait_handle_);
- parent_dump_request_wait_handle_ = NULL;
- }
-
if (process_exit_wait_handle_) {
UnregisterWait(process_exit_wait_handle_);
process_exit_wait_handle_ = NULL;