#include "components/optimization_guide/core/hints_fetcher_factory.h"
#include "components/optimization_guide/core/hints_fetcher.h"
#include "components/prefs/pref_service.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
namespace optimization_guide {
HintsFetcherFactory::HintsFetcherFactory(
scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory,
const GURL& optimization_guide_service_url,
PrefService* pref_service)
: … { … }
HintsFetcherFactory::~HintsFetcherFactory() = default;
std::unique_ptr<HintsFetcher> HintsFetcherFactory::BuildInstance(
OptimizationGuideLogger* optimization_guide_logger) { … }
void HintsFetcherFactory::OverrideOptimizationGuideServiceUrlForTesting(
const GURL& optimization_guide_service_url) { … }
}