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