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

// Copyright 2022 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/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() {}

// Validates that policy follows official pattern
// https://www.chromium.org/administrators/url-blocklist-filter-format
bool URLSchemeListPolicyHandler::ValidatePolicyEntry(
    const std::string* policy) {}

}  // namespace policy