summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/skia/tools/CrashHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/tools/CrashHandler.h')
-rw-r--r--chromium/third_party/skia/tools/CrashHandler.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chromium/third_party/skia/tools/CrashHandler.h b/chromium/third_party/skia/tools/CrashHandler.h
new file mode 100644
index 00000000000..6c22c8ee705
--- /dev/null
+++ b/chromium/third_party/skia/tools/CrashHandler.h
@@ -0,0 +1,9 @@
+#ifndef CrashHandler_DEFINED
+#define CrashHandler_DEFINED
+
+// If possible (and not already done) register a handler for a stack trace when we crash.
+// Currently this works on Linux and Mac, hopefully Windows soon.
+// On Linux, you will get much better results than we can deliver by running "catchsegv <program>".
+void SetupCrashHandler();
+
+#endif//CrashHandler_DEFINED