#ifndef CHROME_BROWSER_AUTOFILL_AUTOCOMPLETE_HISTORY_MANAGER_FACTORY_H_
#define CHROME_BROWSER_AUTOFILL_AUTOCOMPLETE_HISTORY_MANAGER_FACTORY_H_
#include "chrome/browser/profiles/profile_keyed_service_factory.h"
#include "components/keyed_service/core/keyed_service.h"
namespace base {
template <typename T>
class NoDestructor;
}
class Profile;
namespace autofill {
class AutocompleteHistoryManager;
class AutocompleteHistoryManagerFactory : public ProfileKeyedServiceFactory {
public:
static AutocompleteHistoryManager* GetForProfile(Profile* profile);
static AutocompleteHistoryManagerFactory* GetInstance();
private:
friend base::NoDestructor<AutocompleteHistoryManagerFactory>;
AutocompleteHistoryManagerFactory();
~AutocompleteHistoryManagerFactory() override;
std::unique_ptr<KeyedService> BuildServiceInstanceForBrowserContext(
content::BrowserContext* profile) const override;
};
}
#endif