#include "components/metrics/structured/key_data_provider_prefs.h"
#include <memory>
#include <optional>
#include <string_view>
#include "base/time/time.h"
#include "components/metrics/structured/key_data_prefs_delegate.h"
#include "components/metrics/structured/structured_metrics_validator.h"
namespace metrics::structured {
KeyDataProviderPrefs::KeyDataProviderPrefs(PrefService* local_state,
std::string_view pref_name)
: … { … }
KeyDataProviderPrefs::~KeyDataProviderPrefs() = default;
bool KeyDataProviderPrefs::IsReady() { … }
std::optional<uint64_t> KeyDataProviderPrefs::GetId(
const std::string& project_name) { … }
KeyData* KeyDataProviderPrefs::GetKeyData(const std::string& project_name) { … }
void KeyDataProviderPrefs::Purge() { … }
}