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

Unified Diff: util/win/registration_protocol_win.h

Issue 1356383002: win: Implement CRASHPAD_SIMULATE_CRASH() (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: fixes Created 5 years, 3 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 | « util/win/exception_handler_server.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/win/registration_protocol_win.h
diff --git a/util/win/registration_protocol_win.h b/util/win/registration_protocol_win.h
index e2f1d23d17abe5d77c3496f5e7a1fb472b90986d..7c59bcdd38682ca8ec678a09bbc0b81247d04855 100644
--- a/util/win/registration_protocol_win.h
+++ b/util/win/registration_protocol_win.h
@@ -50,8 +50,14 @@ struct RegistrationRequest {
DWORD client_process_id;
//! \brief The address, in the client process address space, of an
- //! ExceptionInformation structure.
- WinVMAddress exception_information;
+ //! ExceptionInformation structure, used when handling a crash dump
+ //! request.
+ WinVMAddress crash_exception_information;
+
+ //! \brief The address, in the client process address space, of an
+ //! ExceptionInformation structure, used when handling a non-crashing dump
+ //! request.
+ WinVMAddress non_crash_exception_information;
};
//! \brief A message only sent to the server by itself to trigger shutdown.
@@ -88,7 +94,17 @@ struct RegistrationResponse {
//! \brief An event `HANDLE`, valid in the client process, that should be
//! signaled to request a crash report. 64-bit clients should convert the
//! value to a `HANDLE` using sign-extension.
- uint32_t request_report_event;
+ uint32_t request_crash_dump_event;
+
+ //! \brief An event `HANDLE`, valid in the client process, that should be
+ //! signaled to request a non-crashing dump be taken. 64-bit clients
+ //! should convert the value to `HANDLEEE` using sign-extension.
+ uint32_t request_non_crash_dump_event;
+
+ //! \brief An event `HANDLE`, valid in the client process, that will be
+ //! signaled by the server when the non-crashing dump is complete. 64-bit
+ //! clients should convert the value to `HANDLEEE` using sign-extension.
+ uint32_t non_crash_dump_completed_event;
};
//! \brief The response sent back to the client via SendToCrashHandlerServer().
« no previous file with comments | « util/win/exception_handler_server.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698