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

Side by Side Diff: chromeos/network/managed_network_configuration_handler_impl.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 CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_ 5 #ifndef CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_
6 #define CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_ 6 #define CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 // Owns the currently running PolicyApplicators. 204 // Owns the currently running PolicyApplicators.
205 UserToPolicyApplicatorMap policy_applicators_; 205 UserToPolicyApplicatorMap policy_applicators_;
206 206
207 // Per userhash (or empty string for device policy), contains the GUIDs of the 207 // Per userhash (or empty string for device policy), contains the GUIDs of the
208 // policies that were modified. 208 // policies that were modified.
209 // If this map contains a userhash as key, it means that a policy application 209 // If this map contains a userhash as key, it means that a policy application
210 // for this userhash is pending even if no policies were modified and the 210 // for this userhash is pending even if no policies were modified and the
211 // associated set of GUIDs is empty. 211 // associated set of GUIDs is empty.
212 UserToModifiedPoliciesMap queued_modified_policies_; 212 UserToModifiedPoliciesMap queued_modified_policies_;
213 213
214 ObserverList<NetworkPolicyObserver> observers_; 214 base::ObserverList<NetworkPolicyObserver> observers_;
215 215
216 // For Shill client callbacks 216 // For Shill client callbacks
217 base::WeakPtrFactory<ManagedNetworkConfigurationHandlerImpl> 217 base::WeakPtrFactory<ManagedNetworkConfigurationHandlerImpl>
218 weak_ptr_factory_; 218 weak_ptr_factory_;
219 219
220 DISALLOW_COPY_AND_ASSIGN(ManagedNetworkConfigurationHandlerImpl); 220 DISALLOW_COPY_AND_ASSIGN(ManagedNetworkConfigurationHandlerImpl);
221 }; 221 };
222 222
223 } // namespace chromeos 223 } // namespace chromeos
224 224
225 #endif // CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_ 225 #endif // CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_
OLDNEW
« no previous file with comments | « chromeos/network/client_cert_resolver.h ('k') | chromeos/network/network_configuration_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698