#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include <utility>
#include "base/feature_list.h"
#include "build/build_config.h"
#include "build/buildflag.h"
#include "chrome/browser/content_settings/one_time_permission_provider.h"
#include "chrome/browser/permissions/one_time_permissions_tracker_factory.h"
#include "chrome/browser/profiles/off_the_record_profile_impl.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_key.h"
#include "chrome/browser/profiles/profiles_state.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "chrome/browser/supervised_user/supervised_user_settings_service_factory.h"
#include "chrome/common/buildflags.h"
#include "components/content_settings/core/browser/content_settings_pref_provider.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/permissions/features.h"
#include "components/supervised_user/core/browser/supervised_user_content_settings_provider.h"
#include "components/supervised_user/core/browser/supervised_user_settings_service.h"
#include "content/public/browser/browser_thread.h"
#include "extensions/buildflags/buildflags.h"
#include "ui/webui/webui_allowlist_provider.h"
#if BUILDFLAG(ENABLE_EXTENSIONS)
#include "base/trace_event/trace_event.h"
#include "extensions/browser/api/content_settings/content_settings_custom_extension_provider.h"
#include "extensions/browser/api/content_settings/content_settings_service.h"
#endif
#if BUILDFLAG(IS_ANDROID)
#include "chrome/browser/flags/android/chrome_feature_list.h"
#include "chrome/browser/notifications/notification_channels_provider_android.h"
#include "chrome/browser/webapps/installable/installed_webapp_provider.h"
#endif
#if BUILDFLAG(ENABLE_SESSION_SERVICE)
#include "chrome/browser/sessions/exit_type_service_factory.h"
#endif
ProviderType;
HostContentSettingsMapFactory::HostContentSettingsMapFactory()
: … { … }
HostContentSettingsMapFactory::~HostContentSettingsMapFactory() = default;
HostContentSettingsMap* HostContentSettingsMapFactory::GetForProfile(
content::BrowserContext* browser_context) { … }
HostContentSettingsMapFactory* HostContentSettingsMapFactory::GetInstance() { … }
scoped_refptr<RefcountedKeyedService>
HostContentSettingsMapFactory::BuildServiceInstanceFor(
content::BrowserContext* context) const { … }