#include "components/content_settings/core/browser/website_settings_info.h"
#include <utility>
#include "base/check.h"
#include "base/strings/string_util.h"
#include "base/values.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_registry.h"
namespace {
const char kPrefPrefix[] = …;
const char kPartitionedPrefPrefix[] = …;
const char kDefaultPrefPrefix[] = …;
std::string GetPreferenceName(const std::string& name, const char* prefix) { … }
}
namespace content_settings {
WebsiteSettingsInfo::WebsiteSettingsInfo(ContentSettingsType type,
const std::string& name,
base::Value initial_default_value,
SyncStatus sync_status,
LossyStatus lossy_status,
ScopingType scoping_type,
IncognitoBehavior incognito_behavior)
: … { … }
WebsiteSettingsInfo::~WebsiteSettingsInfo() = default;
uint32_t WebsiteSettingsInfo::GetPrefRegistrationFlags() const { … }
bool WebsiteSettingsInfo::SupportsSecondaryPattern() const { … }
}