| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_APP_BREAKPAD_MAC_H_ | 5 #ifndef CHROME_APP_BREAKPAD_MAC_H_ |
| 6 #define CHROME_APP_BREAKPAD_MAC_H_ | 6 #define CHROME_APP_BREAKPAD_MAC_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // This header defines the Chrome entry points for Breakpad integration. | 9 // This header defines the Chrome entry points for Breakpad integration. |
| 10 | 10 |
| 11 // Initializes Breakpad. | 11 // Initializes Breakpad. |
| 12 void InitCrashReporter(); | 12 void InitCrashReporter(); |
| 13 | 13 |
| 14 // Give Breakpad a chance to store information about the current process. | 14 // Give Breakpad a chance to store information about the current process. |
| 15 // Extra information requires a parsed command line, so call this after | 15 // Extra information requires a parsed command line, so call this after |
| 16 // CommandLine::Init has been called. | 16 // CommandLine::Init has been called. |
| 17 void InitCrashProcessInfo(); | 17 void InitCrashProcessInfo(); |
| 18 | 18 |
| 19 // Is Breakpad enabled? | 19 // Is Breakpad enabled? |
| 20 bool IsCrashReporterEnabled(); | 20 bool IsCrashReporterEnabled(); |
| 21 | 21 |
| 22 // Call on clean process shutdown. | |
| 23 void DestructCrashReporter(); | |
| 24 | |
| 25 #endif // CHROME_APP_BREAKPAD_MAC_H_ | 22 #endif // CHROME_APP_BREAKPAD_MAC_H_ |
| OLD | NEW |