OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CONFIGURATION_POLICY_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_CONFIGURATION_POLICY_PROVIDER_H_ |
6 #define CHROME_BROWSER_CONFIGURATION_POLICY_PROVIDER_H_ | 6 #define CHROME_BROWSER_CONFIGURATION_POLICY_PROVIDER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "chrome/browser/configuration_policy_store.h" | 12 #include "chrome/browser/configuration_policy_store.h" |
13 | 13 |
14 class DictionaryValue; | |
15 | |
16 // A mostly-abstract super class for platform-specific policy providers. | 14 // A mostly-abstract super class for platform-specific policy providers. |
17 // Platform-specific policy providers (Windows Group Policy, gconf, | 15 // Platform-specific policy providers (Windows Group Policy, gconf, |
18 // etc.) should implement a subclass of this class. | 16 // etc.) should implement a subclass of this class. |
19 class ConfigurationPolicyProvider { | 17 class ConfigurationPolicyProvider { |
20 public: | 18 public: |
21 ConfigurationPolicyProvider() {} | 19 ConfigurationPolicyProvider() {} |
22 virtual ~ConfigurationPolicyProvider() {} | 20 virtual ~ConfigurationPolicyProvider() {} |
23 | 21 |
24 // Must be implemented by provider subclasses to specify the | 22 // Must be implemented by provider subclasses to specify the |
25 // provider-specific policy decisions. The preference service | 23 // provider-specific policy decisions. The preference service |
(...skipping 21 matching lines...) Expand all Loading... |
47 // Returns the mapping from policy values to the actual names used by | 45 // Returns the mapping from policy values to the actual names used by |
48 // implementations. | 46 // implementations. |
49 static const PolicyValueMap* PolicyValueMapping(); | 47 static const PolicyValueMap* PolicyValueMapping(); |
50 | 48 |
51 private: | 49 private: |
52 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProvider); | 50 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProvider); |
53 }; | 51 }; |
54 | 52 |
55 #endif // CHROME_BROWSER_CONFIGURATION_POLICY_PROVIDER_H_ | 53 #endif // CHROME_BROWSER_CONFIGURATION_POLICY_PROVIDER_H_ |
56 | 54 |
OLD | NEW |