blob: 64972bbbae232fa86eb409e7d51c8919a3f8c9a2 [file] [log] [blame]
<!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"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Crashpad: crashpad::CrashReportDatabase::Report Struct 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>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="crashpad_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;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Crashpad
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></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_1CrashReportDatabase.html">CrashReportDatabase</a></li><li class="navelem"><a class="el" href="structcrashpad_1_1CrashReportDatabase_1_1Report.html">Report</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structcrashpad_1_1CrashReportDatabase_1_1Report-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">crashpad::CrashReportDatabase::Report Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A crash report record.
<a href="structcrashpad_1_1CrashReportDatabase_1_1Report.html#details">More...</a></p>
<p><code>#include &quot;client/crash_report_database.h&quot;</code></p>
<div class="dynheader">
Inheritance diagram for crashpad::CrashReportDatabase::Report:</div>
<div class="dyncontent">
<div class="center">
<img src="structcrashpad_1_1CrashReportDatabase_1_1Report.png" usemap="#crashpad::CrashReportDatabase::Report_map" alt=""/>
<map id="crashpad::CrashReportDatabase::Report_map" name="crashpad::CrashReportDatabase::Report_map">
<area href="classcrashpad_1_1CrashReportDatabase_1_1UploadReport.html" title="A crash report that is in the process of being uploaded. " alt="crashpad::CrashReportDatabase::UploadReport" shape="rect" coords="0,56,277,80"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:afab0cc6f40b7ca127ecddd4625284a86"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcrashpad_1_1UUID.html">UUID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcrashpad_1_1CrashReportDatabase_1_1Report.html#afab0cc6f40b7ca127ecddd4625284a86">uuid</a></td></tr>
<tr class="separator:afab0cc6f40b7ca127ecddd4625284a86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42cfce2b75dfee931b8d82968592d8a7"><td class="memItemLeft" align="right" valign="top">base::FilePath&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcrashpad_1_1CrashReportDatabase_1_1Report.html#a42cfce2b75dfee931b8d82968592d8a7">file_path</a></td></tr>
<tr class="separator:a42cfce2b75dfee931b8d82968592d8a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55a46d92912b0f2087ece80e47a8d282"><td class="memItemLeft" align="right" valign="top"><a id="a55a46d92912b0f2087ece80e47a8d282"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcrashpad_1_1CrashReportDatabase_1_1Report.html#a55a46d92912b0f2087ece80e47a8d282">id</a></td></tr>
<tr class="memdesc:a55a46d92912b0f2087ece80e47a8d282"><td class="mdescLeft">&#160;</td><td class="mdescRight">An identifier issued to this crash report by a collection server. <br /></td></tr>
<tr class="separator:a55a46d92912b0f2087ece80e47a8d282"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8011cd1a4b4fcd84ecbc21e5c5fd80b8"><td class="memItemLeft" align="right" valign="top"><a id="a8011cd1a4b4fcd84ecbc21e5c5fd80b8"></a>
time_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcrashpad_1_1CrashReportDatabase_1_1Report.html#a8011cd1a4b4fcd84ecbc21e5c5fd80b8">creation_time</a></td></tr>
<tr class="memdesc:a8011cd1a4b4fcd84ecbc21e5c5fd80b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">The time at which the report was generated. <br /></td></tr>
<tr class="separator:a8011cd1a4b4fcd84ecbc21e5c5fd80b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79ec88ad330fc2aae8049c6b3c0ee380"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcrashpad_1_1CrashReportDatabase_1_1Report.html#a79ec88ad330fc2aae8049c6b3c0ee380">uploaded</a></td></tr>
<tr class="separator:a79ec88ad330fc2aae8049c6b3c0ee380"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a443ff8d2cf61e4c8f539470285286638"><td class="memItemLeft" align="right" valign="top">time_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcrashpad_1_1CrashReportDatabase_1_1Report.html#a443ff8d2cf61e4c8f539470285286638">last_upload_attempt_time</a></td></tr>
<tr class="separator:a443ff8d2cf61e4c8f539470285286638"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab334defe82bcced14b194e9102fefd8a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcrashpad_1_1CrashReportDatabase_1_1Report.html#ab334defe82bcced14b194e9102fefd8a">upload_attempts</a></td></tr>
<tr class="separator:ab334defe82bcced14b194e9102fefd8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a173dceb3c3d2b1b3d51c9719e4d0014d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcrashpad_1_1CrashReportDatabase_1_1Report.html#a173dceb3c3d2b1b3d51c9719e4d0014d">upload_explicitly_requested</a></td></tr>
<tr class="separator:a173dceb3c3d2b1b3d51c9719e4d0014d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A crash report record. </p>
<p>This represents the metadata for a crash report, as well as the location of the report itself. A <a class="el" href="classcrashpad_1_1CrashReportDatabase.html" title="An interface for managing a collection of crash report files and metadata associated with the crash r...">CrashReportDatabase</a> maintains at least this information. </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="a42cfce2b75dfee931b8d82968592d8a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42cfce2b75dfee931b8d82968592d8a7">&#9670;&nbsp;</a></span>file_path</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">base::FilePath crashpad::CrashReportDatabase::Report::file_path</td>
</tr>
</table>
</div><div class="memdoc">
<p>The current location of the crash report on the client’s filesystem. The location of a crash report may change over time, so the <a class="el" href="structcrashpad_1_1UUID.html" title="A universally unique identifier (UUID). ">UUID</a> should be used as the canonical identifier. </p>
</div>
</div>
<a id="a443ff8d2cf61e4c8f539470285286638"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a443ff8d2cf61e4c8f539470285286638">&#9670;&nbsp;</a></span>last_upload_attempt_time</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">time_t crashpad::CrashReportDatabase::Report::last_upload_attempt_time</td>
</tr>
</table>
</div><div class="memdoc">
<p>The last timestamp at which an attempt was made to submit this crash report to a collection server. If this is zero, then the report has never been uploaded. If <a class="el" href="structcrashpad_1_1CrashReportDatabase_1_1Report.html#a79ec88ad330fc2aae8049c6b3c0ee380">uploaded</a> is true, then this timestamp is the time at which the report was uploaded, and no other attempts to upload this report will be made. </p>
</div>
</div>
<a id="ab334defe82bcced14b194e9102fefd8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab334defe82bcced14b194e9102fefd8a">&#9670;&nbsp;</a></span>upload_attempts</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int crashpad::CrashReportDatabase::Report::upload_attempts</td>
</tr>
</table>
</div><div class="memdoc">
<p>The number of times an attempt was made to submit this report to a collection server. If this is more than zero, then <a class="el" href="structcrashpad_1_1CrashReportDatabase_1_1Report.html#a443ff8d2cf61e4c8f539470285286638">last_upload_attempt_time</a> will be set to the timestamp of the most recent attempt. </p>
</div>
</div>
<a id="a173dceb3c3d2b1b3d51c9719e4d0014d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a173dceb3c3d2b1b3d51c9719e4d0014d">&#9670;&nbsp;</a></span>upload_explicitly_requested</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool crashpad::CrashReportDatabase::Report::upload_explicitly_requested</td>
</tr>
</table>
</div><div class="memdoc">
<p>Whether this crash report was explicitly requested by user to be uploaded. This can be true only if report is in the 'pending' state. </p>
</div>
</div>
<a id="a79ec88ad330fc2aae8049c6b3c0ee380"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79ec88ad330fc2aae8049c6b3c0ee380">&#9670;&nbsp;</a></span>uploaded</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool crashpad::CrashReportDatabase::Report::uploaded</td>
</tr>
</table>
</div><div class="memdoc">
<p>Whether this crash report was successfully uploaded to a collection server. </p>
</div>
</div>
<a id="afab0cc6f40b7ca127ecddd4625284a86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afab0cc6f40b7ca127ecddd4625284a86">&#9670;&nbsp;</a></span>uuid</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structcrashpad_1_1UUID.html">UUID</a> crashpad::CrashReportDatabase::Report::uuid</td>
</tr>
</table>
</div><div class="memdoc">
<p>A unique identifier by which this report will always be known to the database. </p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>client/crash_report_database.h</li>
<li>client/crash_report_database.cc</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>