#include "components/affiliations/core/browser/fake_affiliation_service.h"
#include <string>
#include <vector>
#include "base/functional/callback.h"
#include "components/affiliations/core/browser/affiliation_utils.h"
namespace affiliations {
FakeAffiliationService::FakeAffiliationService() = default;
FakeAffiliationService::~FakeAffiliationService() = default;
void FakeAffiliationService::PrefetchChangePasswordURLs(
const std::vector<GURL>& urls,
base::OnceClosure callback) { … }
void FakeAffiliationService::Clear() { … }
GURL FakeAffiliationService::GetChangePasswordURL(const GURL& url) const { … }
void FakeAffiliationService::GetAffiliationsAndBranding(
const FacetURI& facet_uri,
AffiliationService::StrategyOnCacheMiss cache_miss_strategy,
ResultCallback result_callback) { … }
void FakeAffiliationService::Prefetch(const FacetURI& facet_uri,
const base::Time& keep_fresh_until) { … }
void FakeAffiliationService::CancelPrefetch(
const FacetURI& facet_uri,
const base::Time& keep_fresh_until) { … }
void FakeAffiliationService::KeepPrefetchForFacets(
std::vector<FacetURI> facet_uris) { … }
void FakeAffiliationService::TrimUnusedCache(std::vector<FacetURI> facet_uris) { … }
void FakeAffiliationService::GetGroupingInfo(std::vector<FacetURI> facet_uris,
GroupsCallback callback) { … }
void FakeAffiliationService::GetPSLExtensions(
base::OnceCallback<void(std::vector<std::string>)> callback) const { … }
void FakeAffiliationService::UpdateAffiliationsAndBranding(
const std::vector<FacetURI>& facets,
base::OnceClosure callback) { … }
void FakeAffiliationService::RegisterSource(
std::unique_ptr<AffiliationSource> source) { … }
}