Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: components/policy/core/browser/autofill_policy_handler.h

Issue 140803003: Move the Autofill and URLBlacklist policy handlers to the component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trying again... Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_
OLDNEW
« no previous file with comments | « components/policy/core/browser/DEPS ('k') | components/policy/core/browser/autofill_policy_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698