#include "minidump/minidump_module_crashpad_info_writer.h"
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "minidump/minidump_annotation_writer.h"
#include "minidump/minidump_simple_string_dictionary_writer.h"
#include "snapshot/module_snapshot.h"
#include "util/file/file_writer.h"
#include "util/numeric/safe_assignment.h"
namespace crashpad {
MinidumpModuleCrashpadInfoWriter::MinidumpModuleCrashpadInfoWriter()
: … { … }
MinidumpModuleCrashpadInfoWriter::~MinidumpModuleCrashpadInfoWriter() { … }
void MinidumpModuleCrashpadInfoWriter::InitializeFromSnapshot(
const ModuleSnapshot* module_snapshot) { … }
void MinidumpModuleCrashpadInfoWriter::SetListAnnotations(
std::unique_ptr<MinidumpUTF8StringListWriter> list_annotations) { … }
void MinidumpModuleCrashpadInfoWriter::SetSimpleAnnotations(
std::unique_ptr<MinidumpSimpleStringDictionaryWriter> simple_annotations) { … }
void MinidumpModuleCrashpadInfoWriter::SetAnnotationObjects(
std::unique_ptr<MinidumpAnnotationListWriter> annotation_objects) { … }
bool MinidumpModuleCrashpadInfoWriter::IsUseful() const { … }
bool MinidumpModuleCrashpadInfoWriter::Freeze() { … }
size_t MinidumpModuleCrashpadInfoWriter::SizeOfObject() { … }
std::vector<internal::MinidumpWritable*>
MinidumpModuleCrashpadInfoWriter::Children() { … }
bool MinidumpModuleCrashpadInfoWriter::WriteObject(
FileWriterInterface* file_writer) { … }
MinidumpModuleCrashpadInfoListWriter::MinidumpModuleCrashpadInfoListWriter()
: … { … }
MinidumpModuleCrashpadInfoListWriter::~MinidumpModuleCrashpadInfoListWriter() { … }
void MinidumpModuleCrashpadInfoListWriter::InitializeFromSnapshot(
const std::vector<const ModuleSnapshot*>& module_snapshots) { … }
void MinidumpModuleCrashpadInfoListWriter::AddModule(
std::unique_ptr<MinidumpModuleCrashpadInfoWriter> module_crashpad_info,
size_t minidump_module_list_index) { … }
bool MinidumpModuleCrashpadInfoListWriter::IsUseful() const { … }
bool MinidumpModuleCrashpadInfoListWriter::Freeze() { … }
size_t MinidumpModuleCrashpadInfoListWriter::SizeOfObject() { … }
std::vector<internal::MinidumpWritable*>
MinidumpModuleCrashpadInfoListWriter::Children() { … }
bool MinidumpModuleCrashpadInfoListWriter::WriteObject(
FileWriterInterface* file_writer) { … }
}