blob: 5663eb8c6ce3d016f006edde36d476eaf8002073 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is only used for OS_FUCHSIA, since there is no crash reporter
// for that platform.
#include "build/build_config.h"
#include "components/crash/core/common/crash_key.h"
#if !defined(STARBOARD) && !BUILDFLAG(USE_CRASH_KEY_STUBS)
#error "This file should only be compiled when using stubs."
#endif
namespace crash_reporter {
namespace internal {
void CrashKeyStringImpl::Set(base::StringPiece value) {}
void CrashKeyStringImpl::Clear() {}
bool CrashKeyStringImpl::is_set() const {
return false;
}
} // namespace internal
void InitializeCrashKeys() {}
std::string GetCrashKeyValue(const std::string& key_name) {
return std::string();
}
void ResetCrashKeysForTesting() {}
} // namespace crash_reporter