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

Side by Side Diff: chrome_elf/crash/crash_helper.h

Issue 2183263003: [chrome_elf] Big ELF cleanup. Part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update with latest trunk. Created 4 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
« no previous file with comments | « chrome_elf/chrome_elf_util_unittest.cc ('k') | chrome_elf/crash/crash_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_ELF_CRASH_CRASH_HELPER_H_
6 #define CHROME_ELF_CRASH_CRASH_HELPER_H_
7
8 #include <windows.h>
9
10 // Keep all crash-related APIs here. All other chrome_elf code should call here
11 // for crash support.
12 namespace elf_crash {
13
14 // Init the crash handling system for entire process.
15 bool InitializeCrashReporting();
16
17 // Any late cleanup of the crash handling system.
18 void ShutdownCrashReporting();
19
20 // Permanently disables subsequent calls to
21 // kernel32!SetUnhandledExceptionFilter(), see comment in .cc for why this is
22 // needed.
23 void DisableSetUnhandledExceptionFilter();
24
25 // Exception handler for exceptions in chrome_elf which need to be passed on to
26 // the next handler in the chain. Examples include exceptions in DllMain,
27 // blacklist interception code, etc.
28 // Note: the handler takes a minidump.
29 int GenerateCrashDump(EXCEPTION_POINTERS* exception_pointers);
30 }
31
32 #endif // CHROME_ELF_CRASH_CRASH_HELPER_H_
OLDNEW
« no previous file with comments | « chrome_elf/chrome_elf_util_unittest.cc ('k') | chrome_elf/crash/crash_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698