Index: base/debug/dump_without_crashing.h |
diff --git a/base/debug/dump_without_crashing.h b/base/debug/dump_without_crashing.h |
index a5c85d5ebeace6991a98b1616d3b0c6c38c3dee1..913f6c428d6ed3ead3eb824a0dc6fe3a1c58df22 100644 |
--- a/base/debug/dump_without_crashing.h |
+++ b/base/debug/dump_without_crashing.h |
@@ -15,8 +15,14 @@ namespace debug { |
// Handler to silently dump the current process without crashing. |
// Before calling this function, call SetDumpWithoutCrashingFunction to pass a |
-// function pointer, typically chrome!DumpProcessWithoutCrash. See example code |
-// in chrome_main.cc that does this for chrome.dll. |
+// function pointer. |
+// Windows: |
+// This must be done for each instance of base (i.e. module) and is normally |
+// chrome_elf!DumpProcessWithoutCrash. See example code in chrome_main.cc that |
+// does this for chrome.dll and chrome_child.dll. Note: Crashpad sets this up |
+// for main chrome.exe as part of calling crash_reporter::InitializeCrashpad. |
+// Mac/Linux: |
+// Crashpad does this as part of crash_reporter::InitializeCrashpad. |
// Returns false if called before SetDumpWithoutCrashingFunction. |
BASE_EXPORT bool DumpWithoutCrashing(); |