OLD | NEW |
---|---|
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // crash_report.h : Declarations for crash reporting. | 5 // crash_report.h : Declarations for crash reporting. |
6 | 6 |
7 #ifndef CHROME_FRAME_CRASH_REPORTING_CRASH_REPORT_H_ | 7 #ifndef CHROME_FRAME_CRASH_REPORTING_CRASH_REPORT_H_ |
8 #define CHROME_FRAME_CRASH_REPORTING_CRASH_REPORT_H_ | 8 #define CHROME_FRAME_CRASH_REPORTING_CRASH_REPORT_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/lock.h" | |
Sigurður Ásgeirsson
2010/04/28 01:54:10
you need this?
robertshield
2010/04/28 10:45:57
ugh, no. Will remove in forthcoming patch.
| |
12 #include "base/logging.h" | 13 #include "base/logging.h" |
13 #include "breakpad/src/client/windows/handler/exception_handler.h" | 14 #include "breakpad/src/client/windows/handler/exception_handler.h" |
14 | 15 |
15 extern google_breakpad::ExceptionHandler* g_breakpad; | 16 extern google_breakpad::ExceptionHandler* g_breakpad; |
16 extern "C" IMAGE_DOS_HEADER __ImageBase; | 17 extern "C" IMAGE_DOS_HEADER __ImageBase; |
17 | 18 |
18 bool InitializeVectoredCrashReporting( | 19 bool InitializeVectoredCrashReporting( |
19 bool full_dump, | 20 bool full_dump, |
20 const wchar_t* user_sid, | 21 const wchar_t* user_sid, |
21 const std::wstring& dump_path, | 22 const std::wstring& dump_path, |
22 google_breakpad::CustomClientInfo* client_info); | 23 google_breakpad::CustomClientInfo* client_info); |
23 | 24 |
24 bool InitializeVectoredCrashReportingWithPipeName( | 25 bool InitializeVectoredCrashReportingWithPipeName( |
25 bool full_dump, | 26 bool full_dump, |
26 const wchar_t* pipe_name, | 27 const wchar_t* pipe_name, |
27 const std::wstring& dump_path, | 28 const std::wstring& dump_path, |
28 google_breakpad::CustomClientInfo* client_info); | 29 google_breakpad::CustomClientInfo* client_info); |
29 | 30 |
30 bool ShutdownVectoredCrashReporting(); | 31 bool ShutdownVectoredCrashReporting(); |
31 | 32 |
33 bool WriteMinidumpForException(EXCEPTION_POINTERS* p); | |
34 | |
35 | |
32 #endif // CHROME_FRAME_CRASH_REPORTING_CRASH_REPORT_H_ | 36 #endif // CHROME_FRAME_CRASH_REPORTING_CRASH_REPORT_H_ |
OLD | NEW |