Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3030)

Unified Diff: base/mac/crash_logging.h

Issue 10408004: [Mac] Log stack trace for CHECK in bug 97285. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/mac/crash_logging.mm » ('j') | base/mac/crash_logging.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/crash_logging.h
diff --git a/base/mac/crash_logging.h b/base/mac/crash_logging.h
index ea28ce56a806ca9ef306397dfb3c62cdd422bbee..7e83eaec536c47ad41dba77d66af9ae86e642656 100644
--- a/base/mac/crash_logging.h
+++ b/base/mac/crash_logging.h
@@ -32,6 +32,13 @@ BASE_EXPORT void SetCrashKeyFunctions(SetCrashKeyValueFuncPtr set_key_func,
BASE_EXPORT void SetCrashKeyValue(NSString* key, NSString* val);
BASE_EXPORT void ClearCrashKey(NSString* key);
+// Format |count| items from |addresses| using %p, and set the
+// resulting string as value for crash key |key|. A maximum of 23
+// items will be encoded, since breakpad limits values to 255 bytes.
+BASE_EXPORT void SetCrashKeyFromAddresses(NSString* key,
+ const void* const* addresses,
+ size_t count);
+
#if __OBJC__
class BASE_EXPORT ScopedCrashKey {
« no previous file with comments | « no previous file | base/mac/crash_logging.mm » ('j') | base/mac/crash_logging.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698