#ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_IMAGE_FETCHER_FACTORY_H_
#define CHROME_BROWSER_AUTOFILL_AUTOFILL_IMAGE_FETCHER_FACTORY_H_
#include "base/no_destructor.h"
#include "chrome/browser/profiles/profile_keyed_service_factory.h"
class KeyedService;
class Profile;
namespace autofill {
class AutofillImageFetcherBase;
class AutofillImageFetcherFactory : public ProfileKeyedServiceFactory {
public:
static AutofillImageFetcherBase* GetForProfile(Profile* profile);
static AutofillImageFetcherFactory* GetInstance();
static KeyedService* BuildAutofillImageFetcher(
content::BrowserContext* context);
private:
friend class base::NoDestructor<AutofillImageFetcherFactory>;
AutofillImageFetcherFactory();
~AutofillImageFetcherFactory() override;
std::unique_ptr<KeyedService> BuildServiceInstanceForBrowserContext(
content::BrowserContext* profile) const override;
};
}
#endif