[email protected] | 53556e1 | 2009-10-15 21:49:22 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | // A wrapper around common crash reporting code to manage reporting for Chrome |
| 6 | // Frame. |
| 7 | |
| 8 | #ifndef CHROME_FRAME_CHROME_FRAME_REPORTING_H_ |
| 9 | #define CHROME_FRAME_CHROME_FRAME_REPORTING_H_ |
| 10 | |
| 11 | #include "chrome_frame/crash_reporting/crash_report.h" |
| 12 | |
| 13 | extern const wchar_t kSystemPrincipalSid[]; |
| 14 | |
| 15 | // Intialize crash reporting for Chrome Frame. Specific parameters here include |
| 16 | // using the temp directory for dumps, determining if the install is system |
| 17 | // wide or user specific, and customized client info. |
| 18 | bool InitializeCrashReporting(); |
| 19 | |
| 20 | // Shut down crash reporting for Chrome Frame. |
| 21 | bool ShutdownCrashReporting(); |
| 22 | |
| 23 | #endif // CHROME_FRAME_CHROME_FRAME_REPORTING_H_ |