Index: chromeos/network/network_state_handler.cc |
diff --git a/chromeos/network/network_state_handler.cc b/chromeos/network/network_state_handler.cc |
index c93fc606d40e4856a40b6c33dbcee4a2a787cb4c..a70e5a3b01cc7daf6443999c27112f3a76c3a86f 100644 |
--- a/chromeos/network/network_state_handler.cc |
+++ b/chromeos/network/network_state_handler.cc |
@@ -631,6 +631,24 @@ void NetworkStateHandler::UpdateDeviceProperty(const std::string& device_path, |
} |
} |
+void NetworkStateHandler::UpdateIPConfigProperites( |
+ ManagedState::ManagedType type, |
+ const std::string& path, |
+ const std::string& ip_config_path, |
+ const base::DictionaryValue& properties) { |
+ if (type == ManagedState::MANAGED_TYPE_NETWORK) { |
+ NetworkState* network = GetModifiableNetworkState(path); |
+ if (!network) |
+ return; |
+ network->IPConfigPropertiesChanged(properties); |
+ } else if (type == ManagedState::MANAGED_TYPE_DEVICE) { |
+ DeviceState* device = GetModifiableDeviceState(path); |
+ if (!device) |
+ return; |
+ device->IPConfigPropertiesChanged(ip_config_path, properties); |
+ } |
+} |
+ |
void NetworkStateHandler::CheckPortalListChanged( |
const std::string& check_portal_list) { |
check_portal_list_ = check_portal_list; |