#include "chrome/browser/metrics/structured/key_data_provider_chrome.h"
#include <optional>
#include "components/metrics/structured/structured_metrics_prefs.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"
namespace metrics::structured {
KeyDataProviderChrome::KeyDataProviderChrome(PrefService* local_state)
: … { … }
KeyDataProviderChrome::~KeyDataProviderChrome() = default;
bool KeyDataProviderChrome::IsReady() { … }
std::optional<uint64_t> KeyDataProviderChrome::GetId(
const std::string& project_name) { … }
KeyData* KeyDataProviderChrome::GetKeyData(const std::string& project_name) { … }
void KeyDataProviderChrome::Purge() { … }
void KeyDataProviderChrome::RegisterLocalState(PrefRegistrySimple* registry) { … }
}