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

Unified Diff: chrome/browser/crash_handler_host_linux.cc

Issue 11142010: Specify a file size limit for minidumps (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 1 month 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 | « chrome/app/breakpad_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/crash_handler_host_linux.cc
===================================================================
--- chrome/browser/crash_handler_host_linux.cc (revision 168922)
+++ chrome/browser/crash_handler_host_linux.cc (working copy)
@@ -381,8 +381,11 @@
rand);
if (!google_breakpad::WriteMinidump(minidump_filename.c_str(),
+ kMaxMinidumpFileSize,
crashing_pid, crash_context,
- kCrashContextSize)) {
+ kCrashContextSize,
+ google_breakpad::MappingList(),
+ google_breakpad::AppMemoryList())) {
LOG(ERROR) << "Failed to write crash dump for pid " << crashing_pid;
}
#if defined(ADDRESS_SANITIZER)
« no previous file with comments | « chrome/app/breakpad_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698