Index: chrome/browser/ui/webui/chromeos/network_config_message_handler.cc |
diff --git a/chrome/browser/ui/webui/chromeos/network_config_message_handler.cc b/chrome/browser/ui/webui/chromeos/network_config_message_handler.cc |
index 98452a86a5ccc08e0248d82182782ef7338fed46..ec5833ede6cc7d2e8a5889ca205278408d1b0c50 100644 |
--- a/chrome/browser/ui/webui/chromeos/network_config_message_handler.cc |
+++ b/chrome/browser/ui/webui/chromeos/network_config_message_handler.cc |
@@ -200,6 +200,15 @@ void NetworkConfigMessageHandler::GetShillPropertiesSuccess( |
base::DictionaryValue* device_dictionary = |
device_state->properties().DeepCopy(); |
dictionary_copy->Set(shill::kDeviceProperty, device_dictionary); |
+ |
+ // Convert IPConfig dictionary to a ListValue. |
+ base::ListValue* ip_configs = new base::ListValue; |
+ for (base::DictionaryValue::Iterator iter(device_state->ip_configs()); |
+ !iter.IsAtEnd(); iter.Advance()) { |
+ ip_configs->Append(iter.value().DeepCopy()); |
+ } |
+ device_dictionary->SetWithoutPathExpansion( |
+ shill::kIPConfigsProperty, ip_configs); |
} |
base::ListValue return_arg_list; |