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

Unified Diff: android_webview/browser/aw_browser_terminator.cc

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
« no previous file with comments | « no previous file | android_webview/common/crash_reporter/aw_microdump_crash_reporter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_browser_terminator.cc
diff --git a/android_webview/browser/aw_browser_terminator.cc b/android_webview/browser/aw_browser_terminator.cc
index 362d070dc7c91050be096f97d171321be6ea963c..23c42856fdf84fbebcd58067417c979c8f91c7db 100644
--- a/android_webview/browser/aw_browser_terminator.cc
+++ b/android_webview/browser/aw_browser_terminator.cc
@@ -7,6 +7,7 @@
#include <unistd.h>
#include "android_webview/common/aw_descriptors.h"
+#include "android_webview/common/crash_reporter/aw_microdump_crash_reporter.h"
#include "base/bind.h"
#include "base/logging.h"
#include "base/stl_util.h"
@@ -46,6 +47,7 @@ void AwBrowserTerminator::ProcessTerminationStatus(
if (pipe->Peek() >= sizeof(int)) {
int exit_code;
pipe->Receive(&exit_code, sizeof(exit_code));
+ crash_reporter::SuppressDumpGeneration();
LOG(FATAL) << "Renderer process crash detected (code " << exit_code
<< "). Terminating browser.";
} else {
« no previous file with comments | « no previous file | android_webview/common/crash_reporter/aw_microdump_crash_reporter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698