| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CONFIGURATION_POLICY_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_ | 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
| 15 #include "base/values.h" | 15 #include "base/values.h" |
| 16 #include "policy/configuration_policy_type.h" | |
| 17 | 16 |
| 18 namespace policy { | 17 namespace policy { |
| 19 | 18 |
| 20 struct PolicyDefinitionList; | 19 struct PolicyDefinitionList; |
| 21 class PolicyMap; | 20 class PolicyMap; |
| 22 | 21 |
| 23 // A mostly-abstract super class for platform-specific policy providers. | 22 // A mostly-abstract super class for platform-specific policy providers. |
| 24 // Platform-specific policy providers (Windows Group Policy, gconf, | 23 // Platform-specific policy providers (Windows Group Policy, gconf, |
| 25 // etc.) should implement a subclass of this class. | 24 // etc.) should implement a subclass of this class. |
| 26 class ConfigurationPolicyProvider { | 25 class ConfigurationPolicyProvider { |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 private: | 120 private: |
| 122 ConfigurationPolicyProvider* provider_; | 121 ConfigurationPolicyProvider* provider_; |
| 123 ConfigurationPolicyProvider::Observer* observer_; | 122 ConfigurationPolicyProvider::Observer* observer_; |
| 124 | 123 |
| 125 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyObserverRegistrar); | 124 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyObserverRegistrar); |
| 126 }; | 125 }; |
| 127 | 126 |
| 128 } // namespace policy | 127 } // namespace policy |
| 129 | 128 |
| 130 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_ | 129 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_ |
| OLD | NEW |