| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome_elf/chrome_elf_main.h" | 5 #include "chrome_elf/chrome_elf_main.h" |
| 6 | 6 |
| 7 #include <assert.h> | 7 #include <assert.h> |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 | 9 |
| 10 #include "chrome/install_static/install_details.h" | 10 #include "chrome/install_static/install_details.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 __try { | 40 __try { |
| 41 blacklist::Initialize(false); // Don't force, abort if beacon is present. | 41 blacklist::Initialize(false); // Don't force, abort if beacon is present. |
| 42 } __except (elf_crash::GenerateCrashDump(GetExceptionInformation())) { | 42 } __except (elf_crash::GenerateCrashDump(GetExceptionInformation())) { |
| 43 } | 43 } |
| 44 } else if (reason == DLL_PROCESS_DETACH) { | 44 } else if (reason == DLL_PROCESS_DETACH) { |
| 45 elf_crash::ShutdownCrashReporting(); | 45 elf_crash::ShutdownCrashReporting(); |
| 46 } | 46 } |
| 47 return TRUE; | 47 return TRUE; |
| 48 } | 48 } |
| 49 |
| 50 void DumpProcessWithoutCrash() { |
| 51 elf_crash::DumpWithoutCrashing(); |
| 52 } |
| OLD | NEW |