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/breakpad_win.h" | 5 #include "components/crash/content/app/breakpad_win.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <shellapi.h> | 8 #include <shellapi.h> |
| 9 #include <stddef.h> |
9 #include <tchar.h> | 10 #include <tchar.h> |
10 #include <userenv.h> | 11 #include <userenv.h> |
11 #include <winnt.h> | 12 #include <winnt.h> |
12 | 13 |
13 #include <algorithm> | 14 #include <algorithm> |
14 #include <map> | 15 #include <map> |
15 #include <vector> | 16 #include <vector> |
16 | 17 |
17 #include "base/base_switches.h" | 18 #include "base/base_switches.h" |
18 #include "base/basictypes.h" | |
19 #include "base/command_line.h" | 19 #include "base/command_line.h" |
20 #include "base/debug/crash_logging.h" | 20 #include "base/debug/crash_logging.h" |
21 #include "base/debug/dump_without_crashing.h" | 21 #include "base/debug/dump_without_crashing.h" |
22 #include "base/environment.h" | 22 #include "base/environment.h" |
| 23 #include "base/macros.h" |
23 #include "base/memory/scoped_ptr.h" | 24 #include "base/memory/scoped_ptr.h" |
24 #include "base/numerics/safe_conversions.h" | 25 #include "base/numerics/safe_conversions.h" |
25 #include "base/strings/string16.h" | 26 #include "base/strings/string16.h" |
26 #include "base/strings/string_split.h" | 27 #include "base/strings/string_split.h" |
27 #include "base/strings/string_util.h" | 28 #include "base/strings/string_util.h" |
28 #include "base/strings/stringprintf.h" | 29 #include "base/strings/stringprintf.h" |
29 #include "base/strings/utf_string_conversions.h" | 30 #include "base/strings/utf_string_conversions.h" |
30 #include "base/synchronization/lock.h" | 31 #include "base/synchronization/lock.h" |
31 #include "base/win/metro.h" | 32 #include "base/win/metro.h" |
32 #include "base/win/pe_image.h" | 33 #include "base/win/pe_image.h" |
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
745 extern "C" void __declspec(dllexport) __cdecl | 746 extern "C" void __declspec(dllexport) __cdecl |
746 UnregisterNonABICompliantCodeRange(void* start) { | 747 UnregisterNonABICompliantCodeRange(void* start) { |
747 ExceptionHandlerRecord* record = | 748 ExceptionHandlerRecord* record = |
748 reinterpret_cast<ExceptionHandlerRecord*>(start); | 749 reinterpret_cast<ExceptionHandlerRecord*>(start); |
749 | 750 |
750 CHECK(RtlDeleteFunctionTable(&record->runtime_function)); | 751 CHECK(RtlDeleteFunctionTable(&record->runtime_function)); |
751 } | 752 } |
752 #endif | 753 #endif |
753 | 754 |
754 } // namespace breakpad | 755 } // namespace breakpad |
OLD | NEW |