#include "components/content_settings/core/browser/website_settings_registry.h"
#include <utility>
#include "base/check_op.h"
#include "base/memory/ptr_util.h"
#include "build/blink_buildflags.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "components/content_settings/core/common/content_settings.h"
namespace {
base::LazyInstance<content_settings::WebsiteSettingsRegistry>::DestructorAtExit
g_website_settings_registry_instance = …;
}
namespace content_settings {
WebsiteSettingsRegistry* WebsiteSettingsRegistry::GetInstance() { … }
WebsiteSettingsRegistry::WebsiteSettingsRegistry() { … }
WebsiteSettingsRegistry::~WebsiteSettingsRegistry() = default;
void WebsiteSettingsRegistry::ResetForTest() { … }
const WebsiteSettingsInfo* WebsiteSettingsRegistry::Get(
ContentSettingsType type) const { … }
const WebsiteSettingsInfo* WebsiteSettingsRegistry::GetByName(
const std::string& name) const { … }
const WebsiteSettingsInfo* WebsiteSettingsRegistry::Register(
ContentSettingsType type,
const std::string& name,
base::Value initial_default_value,
WebsiteSettingsInfo::SyncStatus sync_status,
WebsiteSettingsInfo::LossyStatus lossy_status,
WebsiteSettingsInfo::ScopingType scoping_type,
Platforms platform,
WebsiteSettingsInfo::IncognitoBehavior incognito_behavior) { … }
WebsiteSettingsRegistry::const_iterator WebsiteSettingsRegistry::begin() const { … }
WebsiteSettingsRegistry::const_iterator WebsiteSettingsRegistry::end() const { … }
void WebsiteSettingsRegistry::Init() { … }
}