#include "components/content_settings/core/common/content_settings_utils.h"
#include <memory>
#include "base/values.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
#include "url/gurl.h"
#include "url/origin.h"
namespace content_settings {
namespace {
bool ParseContentSettingValue(const base::Value& value,
ContentSetting* setting) { … }
}
ContentSetting ValueToContentSetting(const base::Value& value) { … }
base::Value ContentSettingToValue(ContentSetting setting) { … }
std::unique_ptr<base::Value> ToNullableUniquePtrValue(base::Value value) { … }
base::Value FromNullableUniquePtrValue(std::unique_ptr<base::Value> value) { … }
bool PatternAppliesToSingleOrigin(
const ContentSettingsPattern& primary_pattern,
const ContentSettingsPattern& secondary_pattern) { … }
}