#include "components/segmentation_platform/internal/database/client_result_prefs.h"
#include "components/prefs/pref_service.h"
#include "components/segmentation_platform/internal/constants.h"
namespace segmentation_platform {
ClientResultPrefs::ClientResultPrefs(PrefService* pref_service)
: … { … }
void ClientResultPrefs::SaveClientResultToPrefs(
const std::string& client_key,
std::optional<proto::ClientResult> client_result) { … }
const proto::ClientResult* ClientResultPrefs::ReadClientResultFromPrefs(
const std::string& client_key) { … }
void ClientResultPrefs::InitializeIfNeeded() { … }
}