| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_POLICY_AUTOFILL_POLICY_HANDLER_H_ | 5 #ifndef COMPONENTS_POLICY_CORE_BROWSER_AUTOFILL_POLICY_HANDLER_H_ |
| 6 #define CHROME_BROWSER_POLICY_AUTOFILL_POLICY_HANDLER_H_ | 6 #define COMPONENTS_POLICY_CORE_BROWSER_AUTOFILL_POLICY_HANDLER_H_ |
| 7 | 7 |
| 8 #include "components/policy/core/browser/configuration_policy_handler.h" | 8 #include "components/policy/core/browser/configuration_policy_handler.h" |
| 9 | 9 #include "components/policy/policy_export.h" |
| 10 class PrefValueMap; | |
| 11 | 10 |
| 12 namespace policy { | 11 namespace policy { |
| 13 | 12 |
| 14 class PolicyMap; | |
| 15 | |
| 16 // ConfigurationPolicyHandler for the AutofillEnabled policy. | 13 // ConfigurationPolicyHandler for the AutofillEnabled policy. |
| 17 class AutofillPolicyHandler : public TypeCheckingPolicyHandler { | 14 class POLICY_EXPORT AutofillPolicyHandler : public TypeCheckingPolicyHandler { |
| 18 public: | 15 public: |
| 19 AutofillPolicyHandler(); | 16 AutofillPolicyHandler(); |
| 20 virtual ~AutofillPolicyHandler(); | 17 virtual ~AutofillPolicyHandler(); |
| 21 | 18 |
| 22 // ConfigurationPolicyHandler methods: | 19 // ConfigurationPolicyHandler methods: |
| 23 virtual void ApplyPolicySettings(const PolicyMap& policies, | 20 virtual void ApplyPolicySettings(const PolicyMap& policies, |
| 24 PrefValueMap* prefs) OVERRIDE; | 21 PrefValueMap* prefs) OVERRIDE; |
| 25 | 22 |
| 26 private: | 23 private: |
| 27 DISALLOW_COPY_AND_ASSIGN(AutofillPolicyHandler); | 24 DISALLOW_COPY_AND_ASSIGN(AutofillPolicyHandler); |
| 28 }; | 25 }; |
| 29 | 26 |
| 30 } // namespace policy | 27 } // namespace policy |
| 31 | 28 |
| 32 #endif // CHROME_BROWSER_POLICY_AUTOFILL_POLICY_HANDLER_H_ | 29 #endif // COMPONENTS_POLICY_CORE_BROWSER_AUTOFILL_POLICY_HANDLER_H_ |
| OLD | NEW |