Crashpad
|
Extensibility interface for embedders who wish to add custom streams to minidumps. More...
#include "handler/user_stream_data_source.h"
Public Member Functions | |
virtual std::unique_ptr< MinidumpUserExtensionStreamDataSource > | ProduceStreamData (ProcessSnapshot *process_snapshot)=0 |
Produce the contents for an extension stream for a crashed program. More... | |
Extensibility interface for embedders who wish to add custom streams to minidumps.
|
pure virtual |
Produce the contents for an extension stream for a crashed program.
Called after process_snapshot has been initialized for the crashed process to (optionally) produce the contents of a user extension stream that will be attached to the minidump.
[in] | process_snapshot | An initialized snapshot for the crashed process. |
nullptr
on failure or to opt out of adding a stream.