#include "components/segmentation_platform/internal/database/cached_result_provider.h"
#include "base/logging.h"
#include "components/segmentation_platform/internal/logging.h"
#include "components/segmentation_platform/internal/metadata/metadata_utils.h"
#include "components/segmentation_platform/internal/stats.h"
#include "components/segmentation_platform/public/config.h"
#include "components/segmentation_platform/public/proto/prediction_result.pb.h"
namespace segmentation_platform {
CachedResultProvider::CachedResultProvider(
ClientResultPrefs* prefs,
const std::vector<std::unique_ptr<Config>>& configs)
: … { … }
CachedResultProvider::~CachedResultProvider() = default;
std::optional<proto::PredictionResult>
CachedResultProvider::GetPredictionResultForClient(
const std::string& segmentation_key) { … }
}