Index: chromeos/network/network_configuration_handler.h |
diff --git a/chromeos/network/network_configuration_handler.h b/chromeos/network/network_configuration_handler.h |
index 3dc4a68ad5dfb463c3580676b5f5524c202a9e83..d24aeeb4ad6337cc90760446c7e5e5bafa516aae 100644 |
--- a/chromeos/network/network_configuration_handler.h |
+++ b/chromeos/network/network_configuration_handler.h |
@@ -59,7 +59,7 @@ class CHROMEOS_EXPORT NetworkConfigurationHandler |
void GetProperties( |
const std::string& service_path, |
const network_handler::DictionaryResultCallback& callback, |
- const network_handler::ErrorCallback& error_callback) const; |
+ const network_handler::ErrorCallback& error_callback); |
// Sets the properties of the network with id |service_path|. This means the |
// given properties will be merged with the existing settings, and it won't |
@@ -132,6 +132,15 @@ class CHROMEOS_EXPORT NetworkConfigurationHandler |
return profile_entry_deleters_.count(service_path); |
} |
+ // Copy the properties, fix Name, and add IPConfig properties, then invoke |
+ // |callback| on success or |error_callback| on failure. |
+ void GetPropertiesCallback( |
+ const network_handler::DictionaryResultCallback& callback, |
+ const network_handler::ErrorCallback& error_callback, |
+ const std::string& service_path, |
+ DBusMethodCallStatus call_status, |
+ const base::DictionaryValue& properties); |
+ |
// Invoke the callback and inform NetworkStateHandler to request an update |
// for the service after setting properties. |
void SetPropertiesSuccessCallback(const std::string& service_path, |