#ifndef CHROME_BROWSER_CONTENT_INDEX_CONTENT_INDEX_PROVIDER_FACTORY_H_
#define CHROME_BROWSER_CONTENT_INDEX_CONTENT_INDEX_PROVIDER_FACTORY_H_
#include "base/no_destructor.h"
#include "chrome/browser/profiles/profile_keyed_service_factory.h"
class ContentIndexProviderImpl;
class Profile;
class ContentIndexProviderFactory : public ProfileKeyedServiceFactory {
public:
static ContentIndexProviderImpl* GetForProfile(Profile* profile);
static ContentIndexProviderFactory* GetInstance();
ContentIndexProviderFactory(const ContentIndexProviderFactory&) = delete;
ContentIndexProviderFactory& operator=(const ContentIndexProviderFactory&) =
delete;
private:
friend base::NoDestructor<ContentIndexProviderFactory>;
ContentIndexProviderFactory();
~ContentIndexProviderFactory() override;
std::unique_ptr<KeyedService> BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const override;
};
#endif