#include "minidump/minidump_file_writer.h"
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "build/build_config.h"
#include "minidump/minidump_crashpad_info_writer.h"
#include "minidump/minidump_exception_writer.h"
#include "minidump/minidump_handle_writer.h"
#include "minidump/minidump_memory_info_writer.h"
#include "minidump/minidump_memory_writer.h"
#include "minidump/minidump_misc_info_writer.h"
#include "minidump/minidump_module_writer.h"
#include "minidump/minidump_system_info_writer.h"
#include "minidump/minidump_thread_id_map.h"
#include "minidump/minidump_thread_name_list_writer.h"
#include "minidump/minidump_thread_writer.h"
#include "minidump/minidump_unloaded_module_writer.h"
#include "minidump/minidump_user_extension_stream_data_source.h"
#include "minidump/minidump_user_stream_writer.h"
#include "minidump/minidump_writer_util.h"
#include "snapshot/exception_snapshot.h"
#include "snapshot/module_snapshot.h"
#include "snapshot/process_snapshot.h"
#include "snapshot/thread_snapshot.h"
#include "util/file/file_writer.h"
#include "util/numeric/safe_assignment.h"
namespace crashpad {
MinidumpFileWriter::MinidumpFileWriter()
: … { … }
MinidumpFileWriter::~MinidumpFileWriter() { … }
void MinidumpFileWriter::InitializeFromSnapshot(
const ProcessSnapshot* process_snapshot) { … }
void MinidumpFileWriter::SetTimestamp(time_t timestamp) { … }
bool MinidumpFileWriter::AddStream(
std::unique_ptr<internal::MinidumpStreamWriter> stream) { … }
bool MinidumpFileWriter::AddUserExtensionStream(
std::unique_ptr<MinidumpUserExtensionStreamDataSource>
user_extension_stream_data) { … }
bool MinidumpFileWriter::WriteEverything(FileWriterInterface* file_writer) { … }
bool MinidumpFileWriter::WriteMinidump(FileWriterInterface* file_writer,
bool allow_seek) { … }
bool MinidumpFileWriter::Freeze() { … }
size_t MinidumpFileWriter::SizeOfObject() { … }
std::vector<internal::MinidumpWritable*> MinidumpFileWriter::Children() { … }
bool MinidumpFileWriter::WillWriteAtOffsetImpl(FileOffset offset) { … }
bool MinidumpFileWriter::WriteObject(FileWriterInterface* file_writer) { … }
}