A PruneCondition that deletes reports older than the specified number days.
More...
#include "client/prune_crash_reports.h"
A PruneCondition that deletes reports older than the specified number days.
◆ AgePruneCondition()
crashpad::AgePruneCondition::AgePruneCondition |
( |
int |
max_age_in_days | ) |
|
|
explicit |
Creates a PruneCondition based on Report::creation_time.
- Parameters
-
[in] | max_age_in_days | Reports created more than this many days ago will be deleted. |
◆ 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