<ahref="#pub-methods">Public Member Functions</a>|
<ahref="classcrashpad_1_1DatabaseSizePruneCondition-members.html">List of all members</a></div>
<divclass="headertitle">
<divclass="title">crashpad::DatabaseSizePruneCondition Class Reference<spanclass="mlabels"><spanclass="mlabel">final</span></span></div></div>
</div><!--header-->
<divclass="contents">
<p>A <aclass="el"href="classcrashpad_1_1PruneCondition.html"title="An abstract base class for evaluating crash reports for deletion. ">PruneCondition</a> that deletes older reports to keep the total Crashpad database size under the specified limit.
<areahref="classcrashpad_1_1PruneCondition.html"title="An abstract base class for evaluating crash reports for deletion. "alt="crashpad::PruneCondition"shape="rect"coords="0,0,235,24"/>
<trclass="memdesc:aafe25019360a9622e1c60baf8a79de25"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Creates a <aclass="el"href="classcrashpad_1_1PruneCondition.html"title="An abstract base class for evaluating crash reports for deletion. ">PruneCondition</a> that will keep newer reports, until the sum of the size of all reports is not smaller than <em>max_size_in_kb</em>. After the limit is reached, older reports will be pruned. <ahref="#aafe25019360a9622e1c60baf8a79de25">More...</a><br/></td></tr>
<trclass="memdesc:acca4ba964727b7767431b81792f01fd6"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Evaluates a crash report for deletion. <ahref="#acca4ba964727b7767431b81792f01fd6">More...</a><br/></td></tr>
<trclass="inherit_header pub_static_methods_classcrashpad_1_1PruneCondition"><tdcolspan="2"onclick="javascript:toggleInherit('pub_static_methods_classcrashpad_1_1PruneCondition')"><imgsrc="closed.png"alt="-"/> Static Public Member Functions inherited from <aclass="el"href="classcrashpad_1_1PruneCondition.html">crashpad::PruneCondition</a></td></tr>
<divclass="textblock"><p>A <aclass="el"href="classcrashpad_1_1PruneCondition.html"title="An abstract base class for evaluating crash reports for deletion. ">PruneCondition</a> that deletes older reports to keep the total Crashpad database size under the specified limit. </p>
</div><h2class="groupheader">Constructor & Destructor Documentation</h2>
<p>Creates a <aclass="el"href="classcrashpad_1_1PruneCondition.html"title="An abstract base class for evaluating crash reports for deletion. ">PruneCondition</a> that will keep newer reports, until the sum of the size of all reports is not smaller than <em>max_size_in_kb</em>. After the limit is reached, older reports will be pruned. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">max_size_in_kb</td><td>The maximum number of kilobytes that all crash reports should consume. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2class="groupheader">Member Function Documentation</h2>
<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>