| 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 "components/crash/content/app/hard_error_handler_win.h" | 5 #include "components/crash/content/app/hard_error_handler_win.h" |
| 6 | 6 |
| 7 #include <DelayIMP.h> | 7 #include <DelayIMP.h> |
| 8 #include <stddef.h> |
| 8 #include <winternl.h> | 9 #include <winternl.h> |
| 9 | 10 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
| 12 #include "components/crash/content/app/crash_reporter_client.h" | 12 #include "components/crash/content/app/crash_reporter_client.h" |
| 13 | 13 |
| 14 namespace breakpad { | 14 namespace breakpad { |
| 15 | 15 |
| 16 using crash_reporter::GetCrashReporterClient; | 16 using crash_reporter::GetCrashReporterClient; |
| 17 | 17 |
| 18 namespace { | 18 namespace { |
| 19 const DWORD kExceptionModuleNotFound = VcppException(ERROR_SEVERITY_ERROR, | 19 const DWORD kExceptionModuleNotFound = VcppException(ERROR_SEVERITY_ERROR, |
| 20 ERROR_MOD_NOT_FOUND); | 20 ERROR_MOD_NOT_FOUND); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 EntryPointNotFoundHardError(ex_info->ExceptionRecord); | 104 EntryPointNotFoundHardError(ex_info->ExceptionRecord); |
| 105 return true; | 105 return true; |
| 106 } else if (FacilityFromException(exception) == FACILITY_GRAPHICS_KERNEL) { | 106 } else if (FacilityFromException(exception) == FACILITY_GRAPHICS_KERNEL) { |
| 107 RaiseHardErrorMsg(exception, std::string(), std::string()); | 107 RaiseHardErrorMsg(exception, std::string(), std::string()); |
| 108 return true; | 108 return true; |
| 109 } | 109 } |
| 110 return false; | 110 return false; |
| 111 } | 111 } |
| 112 | 112 |
| 113 } // namespace breakpad | 113 } // namespace breakpad |
| OLD | NEW |