#include "components/enterprise/browser/reporting/cloud_profile_reporting_policy_handler.h"
#include "base/command_line.h"
#include "base/values.h"
#include "components/enterprise/browser/reporting/common_pref_names.h"
#include "components/policy/core/browser/policy_error_map.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_types.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_value_map.h"
#include "components/strings/grit/components_strings.h"
namespace enterprise_reporting {
namespace {
constexpr char kAllowProfileReportingSetFromAllSources[] = …;
}
CloudProfileReportingPolicyHandler::CloudProfileReportingPolicyHandler()
: … { … }
CloudProfileReportingPolicyHandler::~CloudProfileReportingPolicyHandler() =
default;
bool CloudProfileReportingPolicyHandler::CheckPolicySettings(
const policy::PolicyMap& policies,
policy::PolicyErrorMap* errors) { … }
void CloudProfileReportingPolicyHandler::ApplyPolicySettings(
const policy::PolicyMap& policies,
PrefValueMap* prefs) { … }
}