chromium/components/policy/core/browser/configuration_policy_handler_list.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/policy/core/browser/configuration_policy_handler_list.h"

#include "base/check_is_test.h"
#include "base/functional/bind.h"
#include "components/policy/core/browser/configuration_policy_handler.h"
#include "components/policy/core/browser/configuration_policy_handler_parameters.h"
#include "components/policy/core/browser/policy_error_map.h"
#include "components/policy/core/common/policy_logger.h"
#include "components/policy/core/common/values_util.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_value_map.h"
#include "components/strings/grit/components_strings.h"

namespace policy {

namespace {

// Don't show errors for policies starting with that prefix.
const char kPolicyCommentPrefix[] =;

}  // namespace

ConfigurationPolicyHandlerList::ConfigurationPolicyHandlerList(
    const PopulatePolicyHandlerParametersCallback& parameters_callback,
    const GetChromePolicyDetailsCallback& details_callback,
    bool are_future_policies_allowed_by_default)
    :{}

ConfigurationPolicyHandlerList::~ConfigurationPolicyHandlerList() {}

void ConfigurationPolicyHandlerList::AddHandler(
    std::unique_ptr<ConfigurationPolicyHandler> handler) {}

void ConfigurationPolicyHandlerList::ApplyPolicySettings(
    const PolicyMap& policies,
    PrefValueMap* prefs,
    PolicyErrorMap* errors,
    PoliciesSet* deprecated_policies,
    PoliciesSet* future_policies_blocked) const {}

void ConfigurationPolicyHandlerList::PrepareForDisplaying(
    PolicyMap* policies) const {}

bool ConfigurationPolicyHandlerList::IsPolicySupported(
    const base::flat_set<std::string>& future_policies_allowed,
    PoliciesSet* future_policies_blocked,
    PolicyMap::const_reference entry) const {}

bool ConfigurationPolicyHandlerList::IsBlockedPlatformDevicePolicy(
    const PolicyDetails& policy_details,
    PolicyMap::const_reference entry) const {}

bool ConfigurationPolicyHandlerList::IsBlockedFuturePolicy(
    const base::flat_set<std::string>& future_policies_allowed,
    const PolicyDetails& policy_details,
    PolicyMap::const_reference entry) const {}

}  // namespace policy