#include "components/metrics/structured/lib/key_util.h"
#include <utility>
#include "base/check_op.h"
#include "base/unguessable_token.h"
namespace metrics::structured::util {
namespace {
constexpr std::string_view kKeyString = …;
constexpr std::string_view kLastRotationString = …;
constexpr std::string_view kRotationPeriodString = …;
}
std::string GenerateNewKey() { … }
base::Value CreateValueFromKeyProto(const KeyProto& proto) { … }
std::optional<KeyProto> CreateKeyProtoFromValue(
const base::Value::Dict& value) { … }
}