| Index: webkit/tools/test_shell/test_shell_win.cc
|
| diff --git a/webkit/tools/test_shell/test_shell_win.cc b/webkit/tools/test_shell/test_shell_win.cc
|
| index 509027161d58224bf0e2d9f35d4b25e3b16d2691..aba23fc6b6eb8634aeeef154a658b74638389016 100644
|
| --- a/webkit/tools/test_shell/test_shell_win.cc
|
| +++ b/webkit/tools/test_shell/test_shell_win.cc
|
| @@ -151,6 +151,11 @@ HINSTANCE TestShell::instance_handle_;
|
| /////////////////////////////////////////////////////////////////////////////
|
| // static methods on TestShell
|
|
|
| +const MINIDUMP_TYPE kFullDumpType = static_cast<MINIDUMP_TYPE>(
|
| + MiniDumpWithFullMemory | // Full memory from process.
|
| + MiniDumpWithProcessThreadData | // Get PEB and TEB.
|
| + MiniDumpWithHandleData); // Get all handle information.
|
| +
|
| void TestShell::InitializeTestShell(bool layout_test_mode,
|
| bool allow_external_pages) {
|
| // Start COM stuff.
|
| @@ -180,7 +185,14 @@ void TestShell::InitializeTestShell(bool layout_test_mode,
|
| if (parsed_command_line.HasSwitch(test_shell::kCrashDumps)) {
|
| std::wstring dir(
|
| parsed_command_line.GetSwitchValueNative(test_shell::kCrashDumps));
|
| - new google_breakpad::ExceptionHandler(dir, 0, &MinidumpCallback, 0, true);
|
| + if (parsed_command_line.HasSwitch(test_shell::kCrashDumpsFulldump)) {
|
| + new google_breakpad::ExceptionHandler(
|
| + dir, 0, &MinidumpCallback, 0, true,
|
| + kFullDumpType, 0, 0);
|
| + } else {
|
| + new google_breakpad::ExceptionHandler(
|
| + dir, 0, &MinidumpCallback, 0, true);
|
| + }
|
| }
|
| }
|
|
|
|
|