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" | 12 #include "chrome/browser/policy/policy_bundle.h" |
13 #include "chrome/browser/policy/policy_service.h" | 13 #include "components/policy/core/common/policy_namespace.h" |
14 | 14 |
15 namespace policy { | 15 namespace policy { |
16 | 16 |
17 class PolicyDomainDescriptor; | 17 class PolicyDomainDescriptor; |
18 | 18 |
19 // A mostly-abstract super class for platform-specific policy providers. | 19 // A mostly-abstract super class for platform-specific policy providers. |
20 // Platform-specific policy providers (Windows Group Policy, gconf, | 20 // Platform-specific policy providers (Windows Group Policy, gconf, |
21 // etc.) should implement a subclass of this class. | 21 // etc.) should implement a subclass of this class. |
22 class ConfigurationPolicyProvider { | 22 class ConfigurationPolicyProvider { |
23 public: | 23 public: |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 bool did_shutdown_; | 89 bool did_shutdown_; |
90 | 90 |
91 ObserverList<Observer, true> observer_list_; | 91 ObserverList<Observer, true> observer_list_; |
92 | 92 |
93 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProvider); | 93 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProvider); |
94 }; | 94 }; |
95 | 95 |
96 } // namespace policy | 96 } // namespace policy |
97 | 97 |
98 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_ | 98 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_ |
OLD | NEW |