#ifndef CHROME_BROWSER_CONTENT_SETTINGS_COOKIE_SETTINGS_FACTORY_H_
#define CHROME_BROWSER_CONTENT_SETTINGS_COOKIE_SETTINGS_FACTORY_H_
#include "base/memory/scoped_refptr.h"
#include "base/no_destructor.h"
#include "chrome/browser/profiles/refcounted_profile_keyed_service_factory.h"
namespace content_settings {
class CookieSettings;
}
class Profile;
class CookieSettingsFactory : public RefcountedProfileKeyedServiceFactory {
public:
static scoped_refptr<content_settings::CookieSettings> GetForProfile(
Profile* profile);
static CookieSettingsFactory* GetInstance();
CookieSettingsFactory(const CookieSettingsFactory&) = delete;
CookieSettingsFactory& operator=(const CookieSettingsFactory&) = delete;
private:
friend base::NoDestructor<CookieSettingsFactory>;
CookieSettingsFactory();
~CookieSettingsFactory() override;
scoped_refptr<RefcountedKeyedService> BuildServiceInstanceFor(
content::BrowserContext* context) const override;
};
#endif