#include "chrome/browser/permissions/prediction_service_request.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "components/permissions/prediction_service/prediction_service.h"
PredictionServiceRequest::PredictionServiceRequest(
permissions::PredictionService* service,
const permissions::PredictionRequestFeatures& entity,
permissions::PredictionServiceBase::LookupResponseCallback callback)
: … { … }
PredictionServiceRequest::~PredictionServiceRequest() = default;
void PredictionServiceRequest::LookupReponseReceived(
bool lookup_succesful,
bool response_from_cache,
const std::optional<permissions::GeneratePredictionsResponse>& response) { … }