class Delegate
Defined at line 37 of file ../../third_party/crashpad/src/snapshot/memory_snapshot.h
An interface that MemorySnapshot clients must implement in order to
receive memory snapshot data.
This callback-based model frees MemorySnapshot 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.
Public Methods
bool MemorySnapshotDelegateRead (void * data, size_t size)
Called by MemorySnapshot::Read() to provide data requested by a
call to that method.
Parameters
data [in] 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 `nullptr` if is `0`.
size [in] The size of the data that was read.
Returns
`true` on success, `false` on failure. MemoryDelegate::Read()
will use this as its own return value.
void ~Delegate ()
Defined at line 39 of file ../../third_party/crashpad/src/snapshot/memory_snapshot.h