diff options
Diffstat (limited to 'chrome/app/breakpad_mac.h')
-rw-r--r-- | chrome/app/breakpad_mac.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/app/breakpad_mac.h b/chrome/app/breakpad_mac.h index 0a20e12..b52e89c 100644 --- a/chrome/app/breakpad_mac.h +++ b/chrome/app/breakpad_mac.h @@ -16,4 +16,17 @@ bool IsCrashReporterEnabled(); // Call on clean process shutdown. void DestructCrashReporter(); +#if __OBJC__ + +@class NSString; + +// Set and clear meta information for Minidump. +// IMPORTANT: On OS X, the key/value pairs are sent to the crash server +// out of bounds and not recorded on disk in the minidump, this means +// that if you look at the minidump file locally you won't see them! +void SetCrashKeyValue(NSString* key, NSString* value); +void ClearCrashKeyValue(NSString* key); + +#endif // __OBJC__ + #endif // CHROME_APP_BREAKPAD_MAC_H_ |