#include "components/policy/core/browser/url_scheme_list_policy_handler.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/logging.h"
#include "base/strings/strcat.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/values.h"
#include "components/policy/core/browser/policy_error_map.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_pref_names.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_value_map.h"
#include "components/strings/grit/components_strings.h"
#include "components/url_matcher/url_util.h"
namespace policy {
URLSchemeListPolicyHandler::URLSchemeListPolicyHandler(const char* policy_name,
const char* pref_path)
: … { … }
URLSchemeListPolicyHandler::~URLSchemeListPolicyHandler() = default;
bool URLSchemeListPolicyHandler::CheckPolicySettings(const PolicyMap& policies,
PolicyErrorMap* errors) { … }
void URLSchemeListPolicyHandler::ApplyPolicySettings(const PolicyMap& policies,
PrefValueMap* prefs) { … }
size_t URLSchemeListPolicyHandler::max_items() { … }
bool URLSchemeListPolicyHandler::ValidatePolicyEntry(
const std::string* policy) { … }
}