Index: client/crashpad_client.h |
diff --git a/client/crashpad_client.h b/client/crashpad_client.h |
index 27d6111b21c50c0325d4429df029c6b58a030026..6942085af282d2decd9c3c4e4fed0f82d99b1c45 100644 |
--- a/client/crashpad_client.h |
+++ b/client/crashpad_client.h |
@@ -87,6 +87,13 @@ class CrashpadClient { |
//! |
//! \return `true` on success and `false` on failure. |
bool SetHandler(const std::string& ipc_port); |
+ |
+ //! \brief Requests that the handler capture a dump even though there hasn't |
+ //! been a crash. This function should not be called from multiple threads |
+ //! simultaneously. |
+ //! |
+ //! \return `true` on success, `false` on failure with a message logged. |
+ static bool DumpWithoutCrash(); |
#endif |
//! \brief Configures the process to direct its crashes to a Crashpad handler. |