| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_POLICY_CORE_COMMON_CONFIGURATION_POLICY_PROVIDER_H_ | 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CONFIGURATION_POLICY_PROVIDER_H_ |
| 6 #define COMPONENTS_POLICY_CORE_COMMON_CONFIGURATION_POLICY_PROVIDER_H_ | 6 #define COMPONENTS_POLICY_CORE_COMMON_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" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 private: | 87 private: |
| 88 // The policies currently configured at this provider. | 88 // The policies currently configured at this provider. |
| 89 PolicyBundle policy_bundle_; | 89 PolicyBundle policy_bundle_; |
| 90 | 90 |
| 91 // Used to validate proper Init() and Shutdown() nesting. This flag is set by | 91 // Used to validate proper Init() and Shutdown() nesting. This flag is set by |
| 92 // Init() and cleared by Shutdown() and needs to be false in the destructor. | 92 // Init() and cleared by Shutdown() and needs to be false in the destructor. |
| 93 bool initialized_; | 93 bool initialized_; |
| 94 | 94 |
| 95 SchemaRegistry* schema_registry_; | 95 SchemaRegistry* schema_registry_; |
| 96 | 96 |
| 97 ObserverList<Observer, true> observer_list_; | 97 base::ObserverList<Observer, true> observer_list_; |
| 98 | 98 |
| 99 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProvider); | 99 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProvider); |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 } // namespace policy | 102 } // namespace policy |
| 103 | 103 |
| 104 #endif // COMPONENTS_POLICY_CORE_COMMON_CONFIGURATION_POLICY_PROVIDER_H_ | 104 #endif // COMPONENTS_POLICY_CORE_COMMON_CONFIGURATION_POLICY_PROVIDER_H_ |
| OLD | NEW |