mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-02-19 08:42:59 +00:00
Allow CrashGenerationClient to request that a dump of the parent process be written.
A=Jim Mathies <jmathies@mozilla.com> R=ted at https://bugzilla.mozilla.org/show_bug.cgi?id=679238 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@883 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
@@ -78,6 +78,7 @@ class ExceptionHandlerTest : public ::testing::Test {
|
||||
static void ClientDumpCallback(
|
||||
void *dump_context,
|
||||
const google_breakpad::ClientInfo *client_info,
|
||||
const google_breakpad::CrashGenerationServer::ClientDumpRequestType request_type,
|
||||
const std::wstring *dump_path);
|
||||
|
||||
static bool DumpCallback(const wchar_t* dump_path,
|
||||
@@ -138,6 +139,7 @@ BOOL ExceptionHandlerTest::DoesPathExist(const TCHAR *path_name) {
|
||||
void ExceptionHandlerTest::ClientDumpCallback(
|
||||
void *dump_context,
|
||||
const google_breakpad::ClientInfo *client_info,
|
||||
const google_breakpad::CrashGenerationServer::ClientDumpRequestType request_type,
|
||||
const wstring *dump_path) {
|
||||
dump_file = *dump_path;
|
||||
// Create the full dump file name from the dump path.
|
||||
|
||||
Reference in New Issue
Block a user