#include "chrome/browser/policy/webhid_device_policy_handler.h"
#include <memory>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "base/values.h"
#include "chrome/common/pref_names.h"
#include "components/content_settings/core/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/schema.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_value_map.h"
#include "components/strings/grit/components_strings.h"
#include "url/gurl.h"
namespace policy {
namespace {
constexpr char kUrlsKey[] = …;
}
WebHidDevicePolicyHandler::WebHidDevicePolicyHandler(
const char* policy_key,
std::string_view pref_name,
const Schema& chrome_schema)
: … { … }
WebHidDevicePolicyHandler::~WebHidDevicePolicyHandler() = default;
bool WebHidDevicePolicyHandler::CheckPolicySettings(const PolicyMap& policies,
PolicyErrorMap* errors) { … }
void WebHidDevicePolicyHandler::ApplyPolicySettings(const PolicyMap& policies,
PrefValueMap* prefs) { … }
}