A PruneCondition that deletes reports older than the specified number days.
More...
#include "client/prune_crash_reports.h"
|
| static std::unique_ptr< PruneCondition > | GetDefault () |
| | Returns a sensible default condition for removing obsolete crash reports.
|
| |
A PruneCondition that deletes reports older than the specified number days.
◆ AgePruneCondition()
| crashpad::AgePruneCondition::AgePruneCondition |
( |
int | max_age_in_days | ) |
|
|
explicit |
◆ ShouldPruneReport()
Evaluates a crash report for deletion.
- Parameters
-
| [in] | report | The crash report to evaluate. |
- Returns
true if the crash report should be deleted, false if it should be kept.
Implements crashpad::PruneCondition.
The documentation for this class was generated from the following files:
- client/prune_crash_reports.h
- client/prune_crash_reports.cc