#include "components/assist_ranker/assist_ranker_service_impl.h"
#include "base/memory/weak_ptr.h"
#include "components/assist_ranker/binary_classifier_predictor.h"
#include "components/assist_ranker/ranker_model_loader_impl.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "url/gurl.h"
namespace assist_ranker {
AssistRankerServiceImpl::AssistRankerServiceImpl(
base::FilePath base_path,
scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory)
: … { … }
AssistRankerServiceImpl::~AssistRankerServiceImpl() { … }
base::WeakPtr<BinaryClassifierPredictor>
AssistRankerServiceImpl::FetchBinaryClassifierPredictor(
const PredictorConfig& config) { … }
base::FilePath AssistRankerServiceImpl::GetModelPath(
const std::string& model_filename) { … }
}