#include "components/enterprise/content/copy_prevention_settings_policy_handler.h"
#include "components/enterprise/content/pref_names.h"
#include "components/policy/core/browser/policy_error_map.h"
#include "components/policy/core/common/policy_map.h"
#include "components/prefs/pref_value_map.h"
#include "components/strings/grit/components_strings.h"
namespace {
const int kMinDataSizeDefault = …;
}
CopyPreventionSettingsPolicyHandler::CopyPreventionSettingsPolicyHandler(
const char* policy_name,
const char* pref_path,
policy::Schema schema)
: … { … }
CopyPreventionSettingsPolicyHandler::~CopyPreventionSettingsPolicyHandler() =
default;
bool CopyPreventionSettingsPolicyHandler::CheckPolicySettings(
const policy::PolicyMap& policies,
policy::PolicyErrorMap* errors) { … }
void CopyPreventionSettingsPolicyHandler::ApplyPolicySettings(
const policy::PolicyMap& policies,
PrefValueMap* prefs) { … }