| Index: user_collector.cc
|
| diff --git a/user_collector.cc b/user_collector.cc
|
| index bfaaddfe186a97f425012d68509b1aca4c8a734d..c166e125e6198f373c8a812a720b8febe7f1f6b7 100644
|
| --- a/user_collector.cc
|
| +++ b/user_collector.cc
|
| @@ -467,6 +467,13 @@ bool UserCollector::HandleCrash(const std::string &crash_attributes,
|
| LOG(WARNING) << "Received crash notification for " << exec << "[" << pid
|
| << "] sig " << signal << " (" << handling_string << ")";
|
|
|
| + // For developer builds, we always want to keep the crash reports unless
|
| + // we're testing the crash facilities themselves.
|
| + if (file_util::PathExists(FilePath(kLeaveCoreFile)) &&
|
| + !IsCrashTestInProgress()) {
|
| + feedback = true;
|
| + }
|
| +
|
| if (feedback) {
|
| count_crash_function_();
|
|
|
|
|