OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chromeos/network/network_configuration_handler.h" | 5 #include "chromeos/network/network_configuration_handler.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 | 202 |
203 DISALLOW_COPY_AND_ASSIGN(ProfileEntryDeleter); | 203 DISALLOW_COPY_AND_ASSIGN(ProfileEntryDeleter); |
204 }; | 204 }; |
205 | 205 |
206 // NetworkConfigurationHandler | 206 // NetworkConfigurationHandler |
207 | 207 |
208 void NetworkConfigurationHandler::GetProperties( | 208 void NetworkConfigurationHandler::GetProperties( |
209 const std::string& service_path, | 209 const std::string& service_path, |
210 const network_handler::DictionaryResultCallback& callback, | 210 const network_handler::DictionaryResultCallback& callback, |
211 const network_handler::ErrorCallback& error_callback) const { | 211 const network_handler::ErrorCallback& error_callback) const { |
| 212 NET_LOG_USER("GetProperties", service_path); |
212 DBusThreadManager::Get()->GetShillServiceClient()->GetProperties( | 213 DBusThreadManager::Get()->GetShillServiceClient()->GetProperties( |
213 dbus::ObjectPath(service_path), | 214 dbus::ObjectPath(service_path), |
214 base::Bind(&GetPropertiesCallback, | 215 base::Bind(&GetPropertiesCallback, |
215 callback, error_callback, service_path)); | 216 callback, error_callback, service_path)); |
216 } | 217 } |
217 | 218 |
218 void NetworkConfigurationHandler::SetProperties( | 219 void NetworkConfigurationHandler::SetProperties( |
219 const std::string& service_path, | 220 const std::string& service_path, |
220 const base::DictionaryValue& properties, | 221 const base::DictionaryValue& properties, |
221 const base::Closure& callback, | 222 const base::Closure& callback, |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 | 430 |
430 // static | 431 // static |
431 NetworkConfigurationHandler* NetworkConfigurationHandler::InitializeForTest( | 432 NetworkConfigurationHandler* NetworkConfigurationHandler::InitializeForTest( |
432 NetworkStateHandler* network_state_handler) { | 433 NetworkStateHandler* network_state_handler) { |
433 NetworkConfigurationHandler* handler = new NetworkConfigurationHandler(); | 434 NetworkConfigurationHandler* handler = new NetworkConfigurationHandler(); |
434 handler->Init(network_state_handler); | 435 handler->Init(network_state_handler); |
435 return handler; | 436 return handler; |
436 } | 437 } |
437 | 438 |
438 } // namespace chromeos | 439 } // namespace chromeos |
OLD | NEW |