| 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 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
| 12 #include "chrome/browser/policy/policy_bundle.h" | |
| 13 #include "chrome/browser/policy/schema_registry.h" | 12 #include "chrome/browser/policy/schema_registry.h" |
| 13 #include "components/policy/core/common/policy_bundle.h" |
| 14 #include "components/policy/core/common/policy_namespace.h" | 14 #include "components/policy/core/common/policy_namespace.h" |
| 15 | 15 |
| 16 namespace policy { | 16 namespace policy { |
| 17 | 17 |
| 18 // A mostly-abstract super class for platform-specific policy providers. | 18 // A mostly-abstract super class for platform-specific policy providers. |
| 19 // Platform-specific policy providers (Windows Group Policy, gconf, | 19 // Platform-specific policy providers (Windows Group Policy, gconf, |
| 20 // etc.) should implement a subclass of this class. | 20 // etc.) should implement a subclass of this class. |
| 21 class ConfigurationPolicyProvider : public SchemaRegistry::Observer { | 21 class ConfigurationPolicyProvider : public SchemaRegistry::Observer { |
| 22 public: | 22 public: |
| 23 class Observer { | 23 class Observer { |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 SchemaRegistry* schema_registry_; | 92 SchemaRegistry* schema_registry_; |
| 93 | 93 |
| 94 ObserverList<Observer, true> observer_list_; | 94 ObserverList<Observer, true> observer_list_; |
| 95 | 95 |
| 96 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProvider); | 96 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProvider); |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 } // namespace policy | 99 } // namespace policy |
| 100 | 100 |
| 101 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_ | 101 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_ |
| OLD | NEW |