blob: 0a084d2afad61c7835f8a4e06588c8e3a9e7bce0 [file] [log] [blame]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_POLICY_MANAGED_ACCOUNT_POLICY_HANDLER_H_
#define CHROME_BROWSER_POLICY_MANAGED_ACCOUNT_POLICY_HANDLER_H_
#include "components/policy/core/browser/configuration_policy_handler.h"
// Maps policy to pref like SimpleSchemaValidatingPolicyHandler wand sets the
// scope for the policy, either machine or account.
class ManagedAccountRestrictionsPolicyHandler
: public policy::SimpleSchemaValidatingPolicyHandler {
public:
explicit ManagedAccountRestrictionsPolicyHandler(policy::Schema schema);
~ManagedAccountRestrictionsPolicyHandler() override;
// ConfigurationPolicyHandler:
void ApplyPolicySettings(const policy::PolicyMap& policies,
PrefValueMap* prefs) override;
};
#endif // CHROME_BROWSER_POLICY_MANAGED_ACCOUNT_POLICY_HANDLER_H_