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 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 Loading... |
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_ |
OLD | NEW |