summaryrefslogtreecommitdiffstats
path: root/chrome/app/breakpad_mac.h
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-30 21:24:07 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-30 21:24:07 +0000
commitfcf195410ee81b7444469c2863e5d2416fe1688a (patch)
tree92f61230bbe69b7a2b0fcb1b15c867003054ee8c /chrome/app/breakpad_mac.h
parent161ce86fc859484708d88e68b31af9ad28abafa6 (diff)
downloadchromium_src-fcf195410ee81b7444469c2863e5d2416fe1688a.zip
chromium_src-fcf195410ee81b7444469c2863e5d2416fe1688a.tar.gz
chromium_src-fcf195410ee81b7444469c2863e5d2416fe1688a.tar.bz2
* Breakpad on OSX now works with stock Breakpad framwork.
* We now add all the same Metadata on OS X as we do on Windows. * Made the code for logging URLs in crash dumps a little more x-platform. Remove custom Breakpad hacks so we can use an unmodified version of the Framework. Review URL: http://codereview.chromium.org/55028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12811 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_mac.h')
-rw-r--r--chrome/app/breakpad_mac.h13
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_