<ahref="#pub-methods">Public Member Functions</a>|
<ahref="classcrashpad_1_1MemorySnapshot_1_1Delegate-members.html">List of all members</a></div>
<divclass="headertitle">
<divclass="title">crashpad::MemorySnapshot::Delegate Class Reference<spanclass="mlabels"><spanclass="mlabel">abstract</span></span></div></div>
</div><!--header-->
<divclass="contents">
<p>An interface that <aclass="el"href="classcrashpad_1_1MemorySnapshot.html"title="An abstract interface to a snapshot representing a region of memory present in a snapshot process...">MemorySnapshot</a> clients must implement in order to receive memory snapshot data.
<trclass="memdesc:a844f77076dc607ce0cd8946aea75f73b"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Called by <aclass="el"href="classcrashpad_1_1MemorySnapshot.html#a00aff1f20ef333384436315a1629a596"title="Calls Delegate::MemorySnapshotDelegateRead(), providing it with the memory snapshot’s data...">MemorySnapshot::Read()</a> to provide data requested by a call to that method. <ahref="#a844f77076dc607ce0cd8946aea75f73b">More...</a><br/></td></tr>
<divclass="textblock"><p>An interface that <aclass="el"href="classcrashpad_1_1MemorySnapshot.html"title="An abstract interface to a snapshot representing a region of memory present in a snapshot process...">MemorySnapshot</a> clients must implement in order to receive memory snapshot data. </p>
<p>This callback-based model frees <aclass="el"href="classcrashpad_1_1MemorySnapshot.html"title="An abstract interface to a snapshot representing a region of memory present in a snapshot process...">MemorySnapshot</a> implementations from having to deal with memory region ownership problems. When a memory snapshot’s data is read, it will be passed to a delegate method. </p>
</div><h2class="groupheader">Member Function Documentation</h2>
<p>Called by <aclass="el"href="classcrashpad_1_1MemorySnapshot.html#a00aff1f20ef333384436315a1629a596"title="Calls Delegate::MemorySnapshotDelegateRead(), providing it with the memory snapshot’s data...">MemorySnapshot::Read()</a> to provide data requested by a call to that method. </p>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">data</td><td>A pointer to the data that was read. The callee does not take ownership of this data. This data is only valid for the duration of the call to this method. This parameter may be <code>nullptr</code> if <em>size</em> is <code>0</code>. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">size</td><td>The size of the data that was read.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> on success, <code>false</code> on failure. MemoryDelegate::Read() will use this as its own return value. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>snapshot/memory_snapshot.h</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">