2015-10-08 14:55:01 -04:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2016-01-06 16:09:15 -05:00
< meta name = "generator" content = "Doxygen 1.8.10" / >
2015-10-08 14:55:01 -04:00
< title > Crashpad: crashpad::AgePruneCondition Class Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< script type = "text/javascript" >
$(document).ready(function() { init_search(); });
< / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
2016-01-06 16:09:15 -05:00
< td id = "projectalign" style = "padding-left: 0.5em;" >
2015-10-08 14:55:01 -04:00
< div id = "projectname" > Crashpad
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2016-01-06 16:09:15 -05:00
<!-- Generated by Doxygen 1.8.10 -->
2015-10-08 14:55:01 -04:00
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li > < a href = "namespaces.html" > < span > Namespaces< / span > < / a > < / li >
< li class = "current" > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "annotated.html" > < span > Class  List< / span > < / a > < / li >
< li > < a href = "classes.html" > < span > Class  Index< / span > < / a > < / li >
< li > < a href = "hierarchy.html" > < span > Class  Hierarchy< / span > < / a > < / li >
< li > < a href = "functions.html" > < span > Class  Members< / span > < / a > < / li >
< / ul >
< / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "namespacecrashpad.html" > crashpad< / a > < / li > < li class = "navelem" > < a class = "el" href = "classcrashpad_1_1AgePruneCondition.html" > AgePruneCondition< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "classcrashpad_1_1AgePruneCondition-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > crashpad::AgePruneCondition Class Reference< span class = "mlabels" > < span class = "mlabel" > final< / span > < / span > < / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > A < a class = "el" href = "classcrashpad_1_1PruneCondition.html" title = "An abstract base class for evaluating crash reports for deletion. " > PruneCondition< / a > that deletes reports older than the specified number days.
< a href = "classcrashpad_1_1AgePruneCondition.html#details" > More...< / a > < / p >
< p > < code > #include " client/prune_crash_reports.h" < / code > < / p >
< div class = "dynheader" >
Inheritance diagram for crashpad::AgePruneCondition:< / div >
< div class = "dyncontent" >
< div class = "center" >
< img src = "classcrashpad_1_1AgePruneCondition.png" usemap = "#crashpad::AgePruneCondition_map" alt = "" / >
< map id = "crashpad::AgePruneCondition_map" name = "crashpad::AgePruneCondition_map" >
< area href = "classcrashpad_1_1PruneCondition.html" title = "An abstract base class for evaluating crash reports for deletion. " alt = "crashpad::PruneCondition" shape = "rect" coords = "0,0,181,24" / >
< / map >
< / div > < / div >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:aad0e93370f6de214bd95c9c773350353" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1AgePruneCondition.html#aad0e93370f6de214bd95c9c773350353" > AgePruneCondition< / a > (int max_age_in_days)< / td > < / tr >
< tr class = "memdesc:aad0e93370f6de214bd95c9c773350353" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Creates a < a class = "el" href = "classcrashpad_1_1PruneCondition.html" title = "An abstract base class for evaluating crash reports for deletion. " > PruneCondition< / a > based on Report::creation_time. < a href = "#aad0e93370f6de214bd95c9c773350353" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aad0e93370f6de214bd95c9c773350353" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8095ad16e8ae13fdaf38bc23020eb9cb" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1AgePruneCondition.html#a8095ad16e8ae13fdaf38bc23020eb9cb" > ShouldPruneReport< / a > (const < a class = "el" href = "structcrashpad_1_1CrashReportDatabase_1_1Report.html" > CrashReportDatabase::Report< / a > & report) override< / td > < / tr >
< tr class = "memdesc:a8095ad16e8ae13fdaf38bc23020eb9cb" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Evaluates a crash report for deletion. < a href = "#a8095ad16e8ae13fdaf38bc23020eb9cb" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a8095ad16e8ae13fdaf38bc23020eb9cb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "inherited" > < / a >
Additional Inherited Members< / h2 > < / td > < / tr >
< tr class = "inherit_header pub_static_methods_classcrashpad_1_1PruneCondition" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_static_methods_classcrashpad_1_1PruneCondition')" > < img src = "closed.png" alt = "-" / >   Static Public Member Functions inherited from < a class = "el" href = "classcrashpad_1_1PruneCondition.html" > crashpad::PruneCondition< / a > < / td > < / tr >
2016-06-23 11:18:01 -04:00
< tr class = "memitem:a71bc322a91e221bfd06c616d7ceafd99 inherit pub_static_methods_classcrashpad_1_1PruneCondition" > < td class = "memItemLeft" align = "right" valign = "top" > static std::unique_ptr< < a class = "el" href = "classcrashpad_1_1PruneCondition.html" > PruneCondition< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1PruneCondition.html#a71bc322a91e221bfd06c616d7ceafd99" > GetDefault< / a > ()< / td > < / tr >
< tr class = "memdesc:a71bc322a91e221bfd06c616d7ceafd99 inherit pub_static_methods_classcrashpad_1_1PruneCondition" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns a sensible default condition for removing obsolete crash reports. < a href = "#a71bc322a91e221bfd06c616d7ceafd99" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a71bc322a91e221bfd06c616d7ceafd99 inherit pub_static_methods_classcrashpad_1_1PruneCondition" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-10-08 14:55:01 -04:00
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > A < a class = "el" href = "classcrashpad_1_1PruneCondition.html" title = "An abstract base class for evaluating crash reports for deletion. " > PruneCondition< / a > that deletes reports older than the specified number days. < / p >
< / div > < h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
< a class = "anchor" id = "aad0e93370f6de214bd95c9c773350353" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > crashpad::AgePruneCondition::AgePruneCondition < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > max_age_in_days< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > explicit< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Creates a < a class = "el" href = "classcrashpad_1_1PruneCondition.html" title = "An abstract base class for evaluating crash reports for deletion. " > PruneCondition< / a > based on Report::creation_time. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > max_age_in_days< / td > < td > Reports created more than this many days ago will be deleted. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< h2 class = "groupheader" > Member Function Documentation< / h2 >
< a class = "anchor" id = "a8095ad16e8ae13fdaf38bc23020eb9cb" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > bool crashpad::AgePruneCondition::ShouldPruneReport < / td >
< td > (< / td >
< td class = "paramtype" > const < a class = "el" href = "structcrashpad_1_1CrashReportDatabase_1_1Report.html" > CrashReportDatabase::Report< / a > &   < / td >
< td class = "paramname" > < em > report< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Evaluates a crash report for deletion. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > report< / td > < td > The crash report to evaluate.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "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 > Implements < a class = "el" href = "classcrashpad_1_1PruneCondition.html#af6ca6223cf5972be17a01bdc869d311b" > crashpad::PruneCondition< / 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 -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2016-01-06 16:09:15 -05:00
< / a > 1.8.10
2015-10-08 14:55:01 -04:00
< / small > < / address >
< / body >
< / html >