Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Side by Side Diff: components/policy/core/common/configuration_policy_provider.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « components/policy/core/common/cloud/cloud_policy_store.h ('k') | components/policy/core/common/policy_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698