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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 const std::string& userhash, | 63 const std::string& userhash, |
64 const base::DictionaryValue& properties, | 64 const base::DictionaryValue& properties, |
65 const network_handler::ServiceResultCallback& callback, | 65 const network_handler::ServiceResultCallback& callback, |
66 const network_handler::ErrorCallback& error_callback) const override; | 66 const network_handler::ErrorCallback& error_callback) const override; |
67 | 67 |
68 void RemoveConfiguration( | 68 void RemoveConfiguration( |
69 const std::string& service_path, | 69 const std::string& service_path, |
70 const base::Closure& callback, | 70 const base::Closure& callback, |
71 const network_handler::ErrorCallback& error_callback) const override; | 71 const network_handler::ErrorCallback& error_callback) const override; |
72 | 72 |
| 73 void RemoveConfigurationFromCurrentProfile( |
| 74 const std::string& service_path, |
| 75 const base::Closure& callback, |
| 76 const network_handler::ErrorCallback& error_callback) const override; |
| 77 |
73 void SetPolicy(onc::ONCSource onc_source, | 78 void SetPolicy(onc::ONCSource onc_source, |
74 const std::string& userhash, | 79 const std::string& userhash, |
75 const base::ListValue& network_configs_onc, | 80 const base::ListValue& network_configs_onc, |
76 const base::DictionaryValue& global_network_config) override; | 81 const base::DictionaryValue& global_network_config) override; |
77 | 82 |
78 bool IsAnyPolicyApplicationRunning() const override; | 83 bool IsAnyPolicyApplicationRunning() const override; |
79 | 84 |
80 const base::DictionaryValue* FindPolicyByGUID( | 85 const base::DictionaryValue* FindPolicyByGUID( |
81 const std::string userhash, | 86 const std::string userhash, |
82 const std::string& guid, | 87 const std::string& guid, |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 // For Shill client callbacks | 228 // For Shill client callbacks |
224 base::WeakPtrFactory<ManagedNetworkConfigurationHandlerImpl> | 229 base::WeakPtrFactory<ManagedNetworkConfigurationHandlerImpl> |
225 weak_ptr_factory_; | 230 weak_ptr_factory_; |
226 | 231 |
227 DISALLOW_COPY_AND_ASSIGN(ManagedNetworkConfigurationHandlerImpl); | 232 DISALLOW_COPY_AND_ASSIGN(ManagedNetworkConfigurationHandlerImpl); |
228 }; | 233 }; |
229 | 234 |
230 } // namespace chromeos | 235 } // namespace chromeos |
231 | 236 |
232 #endif // CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_ | 237 #endif // CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_ |
OLD | NEW |