| Index: chrome/app/breakpad_linux.h
|
| ===================================================================
|
| --- chrome/app/breakpad_linux.h (revision 168922)
|
| +++ chrome/app/breakpad_linux.h (working copy)
|
| @@ -5,6 +5,8 @@
|
| #ifndef CHROME_APP_BREAKPAD_LINUX_H_
|
| #define CHROME_APP_BREAKPAD_LINUX_H_
|
|
|
| +#include <sys/types.h>
|
| +
|
| #include "base/basictypes.h"
|
|
|
| extern void InitCrashReporter();
|
| @@ -19,6 +21,10 @@
|
| #if defined(ADDRESS_SANITIZER)
|
| static const size_t kMaxAsanReportSize = 1 << 16;
|
| #endif
|
| +// Define a preferred limit on minidump sizes, because Crash Server currently
|
| +// throws away any larger than 1.2MB (1.2 * 1024 * 1024). A value of -1 means
|
| +// no limit.
|
| +static const off_t kMaxMinidumpFileSize = 1258291;
|
|
|
| // BreakpadInfo describes a crash report.
|
| // The minidump information can either be contained in a file descriptor (fd) or
|
|
|