| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2010 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 // crash_report.h : Declarations for crash reporting. | |
| 6 | |
| 7 #ifndef CHROME_FRAME_CRASH_REPORTING_CRASH_REPORT_H_ | |
| 8 #define CHROME_FRAME_CRASH_REPORTING_CRASH_REPORT_H_ | |
| 9 | |
| 10 #include <string> | |
| 11 | |
| 12 #include "breakpad/src/client/windows/handler/exception_handler.h" | |
| 13 | |
| 14 extern google_breakpad::ExceptionHandler* g_breakpad; | |
| 15 extern "C" IMAGE_DOS_HEADER __ImageBase; | |
| 16 | |
| 17 bool InitializeVectoredCrashReporting( | |
| 18 bool full_dump, | |
| 19 const wchar_t* user_sid, | |
| 20 const std::wstring& dump_path, | |
| 21 google_breakpad::CustomClientInfo* client_info); | |
| 22 | |
| 23 bool InitializeVectoredCrashReportingWithPipeName( | |
| 24 bool full_dump, | |
| 25 const wchar_t* pipe_name, | |
| 26 const std::wstring& dump_path, | |
| 27 google_breakpad::CustomClientInfo* client_info); | |
| 28 | |
| 29 bool ShutdownVectoredCrashReporting(); | |
| 30 | |
| 31 bool WriteMinidumpForException(EXCEPTION_POINTERS* p); | |
| 32 | |
| 33 | |
| 34 #endif // CHROME_FRAME_CRASH_REPORTING_CRASH_REPORT_H_ | |
| OLD | NEW |