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

Unified Diff: client/crashpad_client.h

Issue 1416603010: win: Add DumpAndCrash to client (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | client/crashpad_client_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/crashpad_client.h
diff --git a/client/crashpad_client.h b/client/crashpad_client.h
index eb3fc6de900265b9b6cb4621b20e7398fb0f788c..79a4900e9ae9ff1ffffce7e117d0e82047fa9b86 100644
--- a/client/crashpad_client.h
+++ b/client/crashpad_client.h
@@ -142,6 +142,16 @@ class CrashpadClient {
//! \param[in] context A `CONTEXT`, generally captured by CaptureContext() or
//! similar.
static void DumpWithoutCrash(const CONTEXT& context);
+
+ //! \brief Requests that the handler capture a dump using the given \a
+ //! exception_pointers to get the `EXCEPTION_RECORD` and `CONTEXT`.
+ //!
+ //! This function is not necessary in general usage as an unhandled exception
+ //! filter is installed by UseHandler().
+ //!
+ //! \param[in] exception_pointers An `EXCEPTION_POINTERS`, as would generally
+ //! passed to an unhandled exception filter.
+ static void DumpAndCrash(EXCEPTION_POINTERS* exception_pointers);
#endif
//! \brief Configures the process to direct its crashes to a Crashpad handler.
« no previous file with comments | « no previous file | client/crashpad_client_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698