#include "base/debug/crash_logging.h"
#include <ostream>
#include <string_view>
#include "build/build_config.h"
namespace base::debug {
namespace {
CrashKeyImplementation* g_crash_key_impl = …;
}
CrashKeyString* AllocateCrashKeyString(const char name[],
CrashKeySize value_length) { … }
void SetCrashKeyString(CrashKeyString* crash_key, std::string_view value) { … }
void ClearCrashKeyString(CrashKeyString* crash_key) { … }
void OutputCrashKeysToStream(std::ostream& out) { … }
ScopedCrashKeyString::ScopedCrashKeyString(CrashKeyString* crash_key,
std::string_view value)
: … { … }
ScopedCrashKeyString::ScopedCrashKeyString(ScopedCrashKeyString&& other)
: … { … }
ScopedCrashKeyString::~ScopedCrashKeyString() { … }
void SetCrashKeyImplementation(std::unique_ptr<CrashKeyImplementation> impl) { … }
}