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.
5 // crash_report.h : Declarations for crash reporting.
7 #ifndef CHROME_FRAME_CRASH_REPORTING_CRASH_REPORT_H_
8 #define CHROME_FRAME_CRASH_REPORTING_CRASH_REPORT_H_
12 #include "breakpad/src/client/windows/handler/exception_handler.h"
14 extern google_breakpad::ExceptionHandler* g_breakpad;
15 extern "C" IMAGE_DOS_HEADER __ImageBase;
17 bool InitializeVectoredCrashReporting(
19 const wchar_t* user_sid,
20 const std::wstring& dump_path,
21 google_breakpad::CustomClientInfo* client_info);
23 bool InitializeVectoredCrashReportingWithPipeName(
25 const wchar_t* pipe_name,
26 const std::wstring& dump_path,
27 google_breakpad::CustomClientInfo* client_info);
29 bool ShutdownVectoredCrashReporting();
31 bool WriteMinidumpForException(EXCEPTION_POINTERS* p);
34 #endif // CHROME_FRAME_CRASH_REPORTING_CRASH_REPORT_H_