blob: 7784b921c8f2359d92fb92c479bafcde00555f6b [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_PROFILE_POLICY_HANDLER_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_PROFILE_POLICY_HANDLER_H_
#include "base/macros.h"
#include "components/policy/core/browser/configuration_policy_handler.h"
#include "components/policy/policy_export.h"
namespace autofill {
// ConfigurationPolicyHandler for the AutofillPolicyEnabled policy.
class AutofillProfilePolicyHandler : public policy::TypeCheckingPolicyHandler {
public:
AutofillProfilePolicyHandler();
~AutofillProfilePolicyHandler() override;
// ConfigurationPolicyHandler methods:
void ApplyPolicySettings(const policy::PolicyMap& policies,
PrefValueMap* prefs) override;
private:
DISALLOW_COPY_AND_ASSIGN(AutofillProfilePolicyHandler);
};
} // namespace autofill
#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_PROFILE_POLICY_HANDLER_H_