#include "components/enterprise/data_controls/core/browser/data_controls_policy_handler.h"
#include "base/numerics/safe_conversions.h"
#include "components/enterprise/data_controls/core/browser/prefs.h"
#include "components/enterprise/data_controls/core/browser/rule.h"
#include "components/prefs/pref_value_map.h"
namespace data_controls {
DataControlsPolicyHandler::DataControlsPolicyHandler(const char* policy_name,
const char* pref_path,
policy::Schema schema)
: … { … }
DataControlsPolicyHandler::~DataControlsPolicyHandler() = default;
void DataControlsPolicyHandler::ApplyPolicySettings(
const policy::PolicyMap& policies,
PrefValueMap* prefs) { … }
bool DataControlsPolicyHandler::CheckPolicySettings(
const policy::PolicyMap& policies,
policy::PolicyErrorMap* errors) { … }
}