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

Unified Diff: components/crash/content/app/breakpad_linux.h

Issue 2635493002: Suppress browser microdump when renderer crashes in multiprocess WebView. (Closed)
Patch Set: reorder functions. again. Created 3 years, 11 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
Index: components/crash/content/app/breakpad_linux.h
diff --git a/components/crash/content/app/breakpad_linux.h b/components/crash/content/app/breakpad_linux.h
index a85a98cd6c77a219e3b558daafa291a7cc87dcd5..bbeb208b68e1a08e1376a279468e0cd0c1c30a0b 100644
--- a/components/crash/content/app/breakpad_linux.h
+++ b/components/crash/content/app/breakpad_linux.h
@@ -31,6 +31,11 @@ extern void InitMicrodumpCrashHandlerIfNecessary(
extern void AddGpuFingerprintToMicrodumpCrashHandler(
const std::string& gpu_fingerprint);
+
+// Calling SuppressDumpGeneration causes subsequent crashes to not
+// generate dumps. Calling base::debug::DumpWithoutCrashing will still
+// generate a dump.
+extern void SuppressDumpGeneration();
#endif
// Checks if crash reporting is enabled. Note that this is not the same as
« no previous file with comments | « android_webview/common/crash_reporter/aw_microdump_crash_reporter.cc ('k') | components/crash/content/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698