Crashpad
|
Describes a user extension data stream in a minidump. More...
#include "minidump/minidump_user_extension_stream_data_source.h"
Classes | |
class | Delegate |
An interface implemented by readers of MinidumpUserExtensionStreamDataSource. More... | |
Public Member Functions | |
MinidumpUserExtensionStreamDataSource (uint32_t stream_type) | |
Constructs a MinidumpUserExtensionStreamDataSource. More... | |
MinidumpStreamType | stream_type () const |
virtual size_t | StreamDataSize ()=0 |
The size of this data stream. | |
virtual bool | ReadStreamData (Delegate *delegate)=0 |
Calls Delegate::UserStreamDataSourceRead(), providing it with the stream data. More... | |
Describes a user extension data stream in a minidump.
|
explicit |
Constructs a MinidumpUserExtensionStreamDataSource.
[in] | stream_type | The type of the user extension stream. |
|
pure virtual |
Calls Delegate::UserStreamDataSourceRead(), providing it with the stream data.
Implementations do not necessarily compute the stream data prior to this method being called. The stream data may be computed or loaded lazily and may be discarded after being passed to the delegate.
false
on failure, otherwise, the return value of Delegate::ExtensionStreamDataSourceRead(), which should be true
on success and false
on failure. Implemented in crashpad::test::BufferExtensionStreamDataSource.