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

Unified Diff: components/crash/app/breakpad_win.cc

Issue 944283002: Consume EXCEPTION_INVALID_HANDLE on sandbox process shutdown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: only eat exceptions on win10 Created 5 years, 10 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 | « components/crash/app/breakpad_win.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/app/breakpad_win.cc
diff --git a/components/crash/app/breakpad_win.cc b/components/crash/app/breakpad_win.cc
index 1c3af66fd8013ad7de4abbfe2ffdd8e91ede3f0b..528ea50ae7633b4d934be08cb7753a2f6f10991d 100644
--- a/components/crash/app/breakpad_win.cc
+++ b/components/crash/app/breakpad_win.cc
@@ -616,6 +616,15 @@ void InitCrashReporter(const std::string& process_type_switch) {
}
}
+void ConsumeInvalidHandleExceptions() {
+ if (g_breakpad) {
+ g_breakpad->set_consume_invalid_handle_exceptions(true);
+ }
+ if (g_dumphandler_no_crash) {
+ g_dumphandler_no_crash->set_consume_invalid_handle_exceptions(true);
+ }
+}
+
// If the user has disabled crash reporting uploads and restarted Chrome, the
// restarted instance will still contain the pipe environment variable, which
// will allow the restarted process to still upload crash reports. This function
« no previous file with comments | « components/crash/app/breakpad_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698