| 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 <memory> | 9 #include <memory> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 void UpdateExistingConfigurationWithPropertiesFromPolicy( | 109 void UpdateExistingConfigurationWithPropertiesFromPolicy( |
| 110 const base::DictionaryValue& existing_properties, | 110 const base::DictionaryValue& existing_properties, |
| 111 const base::DictionaryValue& new_properties) override; | 111 const base::DictionaryValue& new_properties) override; |
| 112 | 112 |
| 113 void OnPoliciesApplied(const NetworkProfile& profile) override; | 113 void OnPoliciesApplied(const NetworkProfile& profile) override; |
| 114 | 114 |
| 115 private: | 115 private: |
| 116 friend class AutoConnectHandlerTest; | 116 friend class AutoConnectHandlerTest; |
| 117 friend class ClientCertResolverTest; | 117 friend class ClientCertResolverTest; |
| 118 friend class ManagedNetworkConfigurationHandlerTest; | 118 friend class ManagedNetworkConfigurationHandlerTest; |
| 119 friend class NetworkConnectionHandlerTest; | 119 friend class NetworkConnectionHandlerImplTest; |
| 120 friend class NetworkHandler; | 120 friend class NetworkHandler; |
| 121 friend class ProhibitedTechnologiesHandlerTest; | 121 friend class ProhibitedTechnologiesHandlerTest; |
| 122 | 122 |
| 123 struct Policies; | 123 struct Policies; |
| 124 typedef base::Callback<void( | 124 typedef base::Callback<void( |
| 125 const std::string& service_path, | 125 const std::string& service_path, |
| 126 std::unique_ptr<base::DictionaryValue> properties)> | 126 std::unique_ptr<base::DictionaryValue> properties)> |
| 127 GetDevicePropertiesCallback; | 127 GetDevicePropertiesCallback; |
| 128 typedef std::map<std::string, std::unique_ptr<Policies>> UserToPoliciesMap; | 128 typedef std::map<std::string, std::unique_ptr<Policies>> UserToPoliciesMap; |
| 129 typedef std::map<std::string, std::unique_ptr<PolicyApplicator>> | 129 typedef std::map<std::string, std::unique_ptr<PolicyApplicator>> |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 // For Shill client callbacks | 233 // For Shill client callbacks |
| 234 base::WeakPtrFactory<ManagedNetworkConfigurationHandlerImpl> | 234 base::WeakPtrFactory<ManagedNetworkConfigurationHandlerImpl> |
| 235 weak_ptr_factory_; | 235 weak_ptr_factory_; |
| 236 | 236 |
| 237 DISALLOW_COPY_AND_ASSIGN(ManagedNetworkConfigurationHandlerImpl); | 237 DISALLOW_COPY_AND_ASSIGN(ManagedNetworkConfigurationHandlerImpl); |
| 238 }; | 238 }; |
| 239 | 239 |
| 240 } // namespace chromeos | 240 } // namespace chromeos |
| 241 | 241 |
| 242 #endif // CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_ | 242 #endif // CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_ |
| OLD | NEW |