| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/crashpad.h" | 5 #include "components/crash/content/app/crashpad.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/environment.h" | 9 #include "base/environment.h" |
| 8 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
| 9 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/numerics/safe_conversions.h" | 12 #include "base/numerics/safe_conversions.h" |
| 11 #include "base/path_service.h" | 13 #include "base/path_service.h" |
| 12 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
| 13 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
| 14 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
| 15 #include "build/build_config.h" | 17 #include "build/build_config.h" |
| 16 #include "components/crash/content/app/crash_reporter_client.h" | 18 #include "components/crash/content/app/crash_reporter_client.h" |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 void __declspec(dllexport) __cdecl UnregisterNonABICompliantCodeRange( | 253 void __declspec(dllexport) __cdecl UnregisterNonABICompliantCodeRange( |
| 252 void* start) { | 254 void* start) { |
| 253 ExceptionHandlerRecord* record = | 255 ExceptionHandlerRecord* record = |
| 254 reinterpret_cast<ExceptionHandlerRecord*>(start); | 256 reinterpret_cast<ExceptionHandlerRecord*>(start); |
| 255 | 257 |
| 256 CHECK(RtlDeleteFunctionTable(&record->runtime_function)); | 258 CHECK(RtlDeleteFunctionTable(&record->runtime_function)); |
| 257 } | 259 } |
| 258 #endif // ARCH_CPU_X86_64 | 260 #endif // ARCH_CPU_X86_64 |
| 259 | 261 |
| 260 } // extern "C" | 262 } // extern "C" |
| OLD | NEW |