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

Unified Diff: client/crashpad_client.h

Issue 1356383002: win: Implement CRASHPAD_SIMULATE_CRASH() (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . 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
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.
« no previous file with comments | « client/client.gyp ('k') | client/crashpad_client_win.cc » ('j') | client/crashpad_client_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698