#include "components/affiliations/core/browser/fake_affiliation_fetcher.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include <utility>
namespace affiliations {
FakeAffiliationFetcher::FakeAffiliationFetcher(
scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory,
AffiliationFetcherDelegate* delegate)
: … { … }
FakeAffiliationFetcher::~FakeAffiliationFetcher() = default;
void FakeAffiliationFetcher::SimulateSuccess(
std::unique_ptr<AffiliationFetcherDelegate::Result> fake_result) { … }
void FakeAffiliationFetcher::SimulateFailure() { … }
void FakeAffiliationFetcher::StartRequest(
const std::vector<FacetURI>& facet_uris,
RequestInfo request_info) { … }
const std::vector<FacetURI>&
FakeAffiliationFetcher::GetRequestedFacetURIs() const { … }
FakeAffiliationFetcherFactory::
FakeAffiliationFetcherFactory() = default;
FakeAffiliationFetcherFactory::
~FakeAffiliationFetcherFactory() { … }
FakeAffiliationFetcher* FakeAffiliationFetcherFactory::PopNextFetcher() { … }
FakeAffiliationFetcher* FakeAffiliationFetcherFactory::PeekNextFetcher() { … }
std::unique_ptr<AffiliationFetcherInterface>
FakeAffiliationFetcherFactory::CreateInstance(
scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory,
AffiliationFetcherDelegate* delegate) { … }
}