#include "chrome/browser/first_party_sets/first_party_sets_overrides_policy_handler.h"
#include "base/values.h"
#include "chrome/browser/first_party_sets/first_party_sets_pref_names.h"
#include "components/policy/core/browser/configuration_policy_handler.h"
#include "components/policy/core/browser/policy_error_map.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/schema.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_value_map.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/first_party_sets_handler.h"
namespace first_party_sets {
namespace {
ParseError;
ParseWarning;
std::string ParseErrorTypeToString(
content::FirstPartySetsHandler::ParseErrorType error) { … }
std::string ParseWarningTypeToString(
const content::FirstPartySetsHandler::ParseWarningType& warning) { … }
}
FirstPartySetsOverridesPolicyHandler::FirstPartySetsOverridesPolicyHandler(
const char* policy_name,
const policy::Schema& schema)
: … { … }
FirstPartySetsOverridesPolicyHandler::~FirstPartySetsOverridesPolicyHandler() =
default;
bool FirstPartySetsOverridesPolicyHandler::CheckPolicySettings(
const policy::PolicyMap& policies,
policy::PolicyErrorMap* errors) { … }
void FirstPartySetsOverridesPolicyHandler::ApplyPolicySettings(
const policy::PolicyMap& policies,
PrefValueMap* prefs) { … }
}