#include "chrome/browser/browsing_data/browsing_data_lifetime_policy_handler.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "components/browsing_data/core/browsing_data_policies_utils.h"
#include "components/policy/core/browser/policy_error_map.h"
#include "components/policy/core/common/policy_logger.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_value_map.h"
#include "components/strings/grit/components_strings.h"
BrowsingDataLifetimePolicyHandler::BrowsingDataLifetimePolicyHandler(
const char* policy_name,
const char* pref_path,
policy::Schema schema)
: … { … }
BrowsingDataLifetimePolicyHandler::~BrowsingDataLifetimePolicyHandler() =
default;
bool BrowsingDataLifetimePolicyHandler::CheckPolicySettings(
const policy::PolicyMap& policies,
policy::PolicyErrorMap* errors) { … }
void BrowsingDataLifetimePolicyHandler::ApplyPolicySettings(
const policy::PolicyMap& policies,
PrefValueMap* prefs) { … }
void BrowsingDataLifetimePolicyHandler::PrepareForDisplaying(
policy::PolicyMap* policies) const { … }