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 b4c194abc0554d34fedf0b5b11109d28c4a61f91..98318242c9f12b4eaeb5aa533371f4d9f6519888 100644 |
--- a/chrome/browser/ui/webui/chromeos/network_config_message_handler.cc |
+++ b/chrome/browser/ui/webui/chromeos/network_config_message_handler.cc |
@@ -206,6 +206,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; |