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

Unified Diff: base/debug/dump_without_crashing.h

Issue 1814423002: Patch to try dump-on-DCHECK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comment Created 4 years, 9 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/debug/dump_without_crashing.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/dump_without_crashing.h
diff --git a/base/debug/dump_without_crashing.h b/base/debug/dump_without_crashing.h
index b8ed17414ac571cddaf435ea978b3fd3e1bb811f..a5c85d5ebeace6991a98b1616d3b0c6c38c3dee1 100644
--- a/base/debug/dump_without_crashing.h
+++ b/base/debug/dump_without_crashing.h
@@ -17,7 +17,8 @@ namespace debug {
// 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.
-BASE_EXPORT void DumpWithoutCrashing();
+// Returns false if called before SetDumpWithoutCrashingFunction.
+BASE_EXPORT bool DumpWithoutCrashing();
// Sets a function that'll be invoked to dump the current process when
// DumpWithoutCrashing() is called.
« no previous file with comments | « no previous file | base/debug/dump_without_crashing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698