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

Side by Side Diff: chrome/browser/policy/url_blacklist_policy_handler.h

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes Created 7 years 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
« no previous file with comments | « chrome/browser/policy/test/policy_test_utils.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_URL_BLACKLIST_POLICY_HANDLER_H_ 5 #ifndef CHROME_BROWSER_POLICY_URL_BLACKLIST_POLICY_HANDLER_H_
6 #define CHROME_BROWSER_POLICY_URL_BLACKLIST_POLICY_HANDLER_H_ 6 #define CHROME_BROWSER_POLICY_URL_BLACKLIST_POLICY_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/policy/configuration_policy_handler.h" 10 #include "components/policy/core/browser/configuration_policy_handler.h"
11 11
12 class PrefValueMap; 12 class PrefValueMap;
13 13
14 namespace policy { 14 namespace policy {
15 15
16 class PolicyErrorMap; 16 class PolicyErrorMap;
17 class PolicyMap; 17 class PolicyMap;
18 18
19 // Handles URLBlacklist policies. 19 // Handles URLBlacklist policies.
20 class URLBlacklistPolicyHandler : public ConfigurationPolicyHandler { 20 class URLBlacklistPolicyHandler : public ConfigurationPolicyHandler {
21 public: 21 public:
22 URLBlacklistPolicyHandler(); 22 URLBlacklistPolicyHandler();
23 virtual ~URLBlacklistPolicyHandler(); 23 virtual ~URLBlacklistPolicyHandler();
24 24
25 // ConfigurationPolicyHandler methods: 25 // ConfigurationPolicyHandler methods:
26 virtual bool CheckPolicySettings(const PolicyMap& policies, 26 virtual bool CheckPolicySettings(const PolicyMap& policies,
27 PolicyErrorMap* errors) OVERRIDE; 27 PolicyErrorMap* errors) OVERRIDE;
28 virtual void ApplyPolicySettings(const PolicyMap& policies, 28 virtual void ApplyPolicySettings(const PolicyMap& policies,
29 PrefValueMap* prefs) OVERRIDE; 29 PrefValueMap* prefs) OVERRIDE;
30 30
31 private: 31 private:
32 DISALLOW_COPY_AND_ASSIGN(URLBlacklistPolicyHandler); 32 DISALLOW_COPY_AND_ASSIGN(URLBlacklistPolicyHandler);
33 }; 33 };
34 34
35 } // namespace policy 35 } // namespace policy
36 36
37 #endif // CHROME_BROWSER_POLICY_URL_BLACKLIST_POLICY_HANDLER_H_ 37 #endif // CHROME_BROWSER_POLICY_URL_BLACKLIST_POLICY_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/test/policy_test_utils.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698