| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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" | |
| 14 #include "base/values.h" | 13 #include "base/values.h" |
| 15 #include "chrome/browser/policy/policy_map.h" | |
| 16 #include "policy/configuration_policy_type.h" | 14 #include "policy/configuration_policy_type.h" |
| 17 | 15 |
| 18 namespace policy { | 16 namespace policy { |
| 19 | 17 |
| 20 class PolicyMap; | 18 class PolicyMap; |
| 21 | 19 |
| 22 // A mostly-abstract super class for platform-specific policy providers. | 20 // A mostly-abstract super class for platform-specific policy providers. |
| 23 // Platform-specific policy providers (Windows Group Policy, gconf, | 21 // Platform-specific policy providers (Windows Group Policy, gconf, |
| 24 // etc.) should implement a subclass of this class. | 22 // etc.) should implement a subclass of this class. |
| 25 class ConfigurationPolicyProvider { | 23 class ConfigurationPolicyProvider { |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 private: | 106 private: |
| 109 ConfigurationPolicyProvider* provider_; | 107 ConfigurationPolicyProvider* provider_; |
| 110 ConfigurationPolicyProvider::Observer* observer_; | 108 ConfigurationPolicyProvider::Observer* observer_; |
| 111 | 109 |
| 112 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyObserverRegistrar); | 110 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyObserverRegistrar); |
| 113 }; | 111 }; |
| 114 | 112 |
| 115 } // namespace policy | 113 } // namespace policy |
| 116 | 114 |
| 117 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_ | 115 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_ |
| OLD | NEW |