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

Side by Side Diff: components/breakpad/hard_error_handler_win.h

Issue 31243002: Move Linux/Android breakpad implementation to breakpad component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_BREAKPAD_HARD_ERROR_HANDLER_WIN_H_
6 #define COMPONENTS_BREAKPAD_HARD_ERROR_HANDLER_WIN_H_
7
8 #include <windows.h>
9
10 namespace breakpad {
11
12 // This function is in charge of displaying a dialog box that informs the
13 // user of a fatal condition in chrome. It is meant to be called from
14 // breakpad's unhandled exception handler after the crash dump has been
15 // created. The return value will be true if we are to retry launching
16 // chrome (and show the 'chrome has crashed' dialog) or to silently exit.
17 //
18 // This function only handles a few known exceptions, currently:
19 // - Failure to load a delayload dll.
20 // - Failure to bind to a delayloaded import.
21 // - Fatal Graphics card failure (aura build only).
22 //
23 // If any of these conditions are encountered, a message box shown by
24 // the operating system CSRSS process via NtRaiseHardError is invoked.
25 // The wording and localization is up to the operating system.
26 //
27 // Do not call this function for memory related errors like heap corruption
28 // or stack exahustion. This function assumes that memory allocations are
29 // possible.
30 bool HardErrorHandler(EXCEPTION_POINTERS* ex_info);
31
32 } // namespace breakpad
33
34 #endif // COMPONENTS_BREAKPAD_HARD_ERROR_HANDLER_WIN_H_
OLDNEW
« no previous file with comments | « components/breakpad/browser/crash_handler_host_linux.cc ('k') | components/breakpad/hard_error_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698