<areahref="classcrashpad_1_1AgePruneCondition.html"title="A PruneCondition that deletes reports older than the specified number days. "alt="crashpad::AgePruneCondition"shape="rect"coords="0,56,235,80"/>
<areahref="classcrashpad_1_1BinaryPruneCondition.html"title="A PruneCondition that conjoins two other PruneConditions. "alt="crashpad::BinaryPruneCondition"shape="rect"coords="245,56,480,80"/>
<areahref="classcrashpad_1_1DatabaseSizePruneCondition.html"title="A PruneCondition that deletes older reports to keep the total Crashpad database size under the specif..."alt="crashpad::DatabaseSizePruneCondition"shape="rect"coords="490,56,725,80"/>
<trclass="memdesc:af6ca6223cf5972be17a01bdc869d311b"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Evaluates a crash report for deletion. <ahref="#af6ca6223cf5972be17a01bdc869d311b">More...</a><br/></td></tr>
<divclass="textblock"><p>An abstract base class for evaluating crash reports for deletion. </p>
<p>When passed to <aclass="el"href="namespacecrashpad.html#a87aa3a36a41939af1166c336db41ec11"title="Deletes crash reports from database that match condition. ">PruneCrashReportDatabase()</a>, each crash report in the database will be evaluated according to <aclass="el"href="classcrashpad_1_1PruneCondition.html#af6ca6223cf5972be17a01bdc869d311b"title="Evaluates a crash report for deletion. ">ShouldPruneReport()</a>. The reports are evaluated serially in descending sort order by <aclass="el"href="structcrashpad_1_1CrashReportDatabase_1_1Report.html#a8011cd1a4b4fcd84ecbc21e5c5fd80b8"title="The time at which the report was generated. ">CrashReportDatabase::Report::creation_time</a>. </p>
</div><h2class="groupheader">Member Function Documentation</h2>
<p>Returns a sensible default condition for removing obsolete crash reports. </p>
<p>The default is to keep reports for one year or a maximum database size of 128 MB.</p>
<dlclass="section return"><dt>Returns</dt><dd>A <aclass="el"href="classcrashpad_1_1PruneCondition.html"title="An abstract base class for evaluating crash reports for deletion. ">PruneCondition</a> for use with <aclass="el"href="namespacecrashpad.html#a87aa3a36a41939af1166c336db41ec11"title="Deletes crash reports from database that match condition. ">PruneCrashReportDatabase()</a>. </dd></dl>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">report</td><td>The crash report to evaluate.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> if the crash report should be deleted, <code>false</code> if it should be kept. </dd></dl>
<p>Implemented in <aclass="el"href="classcrashpad_1_1BinaryPruneCondition.html#a930564dad40627e55bba286b7372f078">crashpad::BinaryPruneCondition</a>, <aclass="el"href="classcrashpad_1_1DatabaseSizePruneCondition.html#acca4ba964727b7767431b81792f01fd6">crashpad::DatabaseSizePruneCondition</a>, and <aclass="el"href="classcrashpad_1_1AgePruneCondition.html#a8095ad16e8ae13fdaf38bc23020eb9cb">crashpad::AgePruneCondition</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>client/prune_crash_reports.h</li>
<li>client/prune_crash_reports.cc</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">