#include "minidump/minidump_thread_name_list_writer.h"
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "minidump/minidump_thread_id_map.h"
#include "snapshot/thread_snapshot.h"
#include "util/file/file_writer.h"
#include "util/numeric/safe_assignment.h"
namespace crashpad {
MinidumpThreadNameWriter::MinidumpThreadNameWriter()
: … { … }
MinidumpThreadNameWriter::~MinidumpThreadNameWriter() { … }
void MinidumpThreadNameWriter::InitializeFromSnapshot(
const ThreadSnapshot* thread_snapshot,
const MinidumpThreadIDMap& thread_id_map) { … }
RVA64 MinidumpThreadNameWriter::RvaOfThreadName() const { … }
uint32_t MinidumpThreadNameWriter::ThreadId() const { … }
bool MinidumpThreadNameWriter::Freeze() { … }
void MinidumpThreadNameWriter::SetThreadName(const std::string& name) { … }
size_t MinidumpThreadNameWriter::SizeOfObject() { … }
std::vector<internal::MinidumpWritable*> MinidumpThreadNameWriter::Children() { … }
bool MinidumpThreadNameWriter::WriteObject(FileWriterInterface* file_writer) { … }
MinidumpThreadNameListWriter::MinidumpThreadNameListWriter()
: … { … }
MinidumpThreadNameListWriter::~MinidumpThreadNameListWriter() { … }
void MinidumpThreadNameListWriter::InitializeFromSnapshot(
const std::vector<const ThreadSnapshot*>& thread_snapshots,
const MinidumpThreadIDMap& thread_id_map) { … }
void MinidumpThreadNameListWriter::AddThreadName(
std::unique_ptr<MinidumpThreadNameWriter> thread_name) { … }
bool MinidumpThreadNameListWriter::Freeze() { … }
size_t MinidumpThreadNameListWriter::SizeOfObject() { … }
std::vector<internal::MinidumpWritable*>
MinidumpThreadNameListWriter::Children() { … }
bool MinidumpThreadNameListWriter::WriteObject(
FileWriterInterface* file_writer) { … }
MinidumpStreamType MinidumpThreadNameListWriter::StreamType() const { … }
}