#ifndef CHROME_BROWSER_AUTOCOMPLETE_ZERO_SUGGEST_CACHE_SERVICE_FACTORY_H_
#define CHROME_BROWSER_AUTOCOMPLETE_ZERO_SUGGEST_CACHE_SERVICE_FACTORY_H_
#include "base/no_destructor.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_keyed_service_factory.h"
#include "components/omnibox/browser/zero_suggest_cache_service.h"
class ZeroSuggestCacheServiceFactory : public ProfileKeyedServiceFactory {
public:
static ZeroSuggestCacheService* GetForProfile(Profile* profile);
static ZeroSuggestCacheServiceFactory* GetInstance();
private:
friend base::NoDestructor<ZeroSuggestCacheServiceFactory>;
ZeroSuggestCacheServiceFactory();
~ZeroSuggestCacheServiceFactory() override;
std::unique_ptr<KeyedService> BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const override;
};
#endif