Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: components/crash/content/app/breakpad_win.cc

Issue 1315303004: Turn components/crash into a layered component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/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 <tchar.h> 9 #include <tchar.h>
10 #include <userenv.h> 10 #include <userenv.h>
11 #include <winnt.h> 11 #include <winnt.h>
12 12
13 #include <algorithm> 13 #include <algorithm>
14 #include <map> 14 #include <map>
15 #include <vector> 15 #include <vector>
(...skipping 10 matching lines...) Expand all
26 #include "base/strings/string_split.h" 26 #include "base/strings/string_split.h"
27 #include "base/strings/string_util.h" 27 #include "base/strings/string_util.h"
28 #include "base/strings/stringprintf.h" 28 #include "base/strings/stringprintf.h"
29 #include "base/strings/utf_string_conversions.h" 29 #include "base/strings/utf_string_conversions.h"
30 #include "base/synchronization/lock.h" 30 #include "base/synchronization/lock.h"
31 #include "base/win/metro.h" 31 #include "base/win/metro.h"
32 #include "base/win/pe_image.h" 32 #include "base/win/pe_image.h"
33 #include "base/win/registry.h" 33 #include "base/win/registry.h"
34 #include "base/win/win_util.h" 34 #include "base/win/win_util.h"
35 #include "breakpad/src/client/windows/handler/exception_handler.h" 35 #include "breakpad/src/client/windows/handler/exception_handler.h"
36 #include "components/crash/app/crash_keys_win.h" 36 #include "components/crash/content/app/crash_keys_win.h"
37 #include "components/crash/app/crash_reporter_client.h" 37 #include "components/crash/content/app/crash_reporter_client.h"
38 #include "components/crash/app/hard_error_handler_win.h" 38 #include "components/crash/content/app/hard_error_handler_win.h"
39 #include "content/public/common/result_codes.h" 39 #include "content/public/common/result_codes.h"
40 #include "sandbox/win/src/nt_internals.h" 40 #include "sandbox/win/src/nt_internals.h"
41 #include "sandbox/win/src/sidestep/preamble_patcher.h" 41 #include "sandbox/win/src/sidestep/preamble_patcher.h"
42 42
43 // userenv.dll is required for GetProfileType(). 43 // userenv.dll is required for GetProfileType().
44 #pragma comment(lib, "userenv.lib") 44 #pragma comment(lib, "userenv.lib")
45 45
46 #pragma intrinsic(_AddressOfReturnAddress) 46 #pragma intrinsic(_AddressOfReturnAddress)
47 #pragma intrinsic(_ReturnAddress) 47 #pragma intrinsic(_ReturnAddress)
48 48
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 extern "C" void __declspec(dllexport) __cdecl 736 extern "C" void __declspec(dllexport) __cdecl
737 UnregisterNonABICompliantCodeRange(void* start) { 737 UnregisterNonABICompliantCodeRange(void* start) {
738 ExceptionHandlerRecord* record = 738 ExceptionHandlerRecord* record =
739 reinterpret_cast<ExceptionHandlerRecord*>(start); 739 reinterpret_cast<ExceptionHandlerRecord*>(start);
740 740
741 CHECK(RtlDeleteFunctionTable(&record->runtime_function)); 741 CHECK(RtlDeleteFunctionTable(&record->runtime_function));
742 } 742 }
743 #endif 743 #endif
744 744
745 } // namespace breakpad 745 } // namespace breakpad
OLDNEW
« no previous file with comments | « components/crash/content/app/breakpad_win.h ('k') | components/crash/content/app/crash_keys_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698