Index: chromeos/network/network_state.cc |
diff --git a/chromeos/network/network_state.cc b/chromeos/network/network_state.cc |
index cb451e86090f7ffa8db6d6288ba8387081e49a6b..c47068b719ca5f93cf4453f3001b83d6def4e2ae 100644 |
--- a/chromeos/network/network_state.cc |
+++ b/chromeos/network/network_state.cc |
@@ -99,6 +99,12 @@ bool NetworkState::PropertyChanged(const std::string& key, |
return GetStringValue(key, value, &activation_state_); |
} else if (key == shill::kRoamingStateProperty) { |
return GetStringValue(key, value, &roaming_); |
+ } else if (key == shill::kPaymentPortalProperty) { |
+ const base::DictionaryValue* olp; |
+ if (!value.GetAsDictionary(&olp)) |
+ return false; |
+ return olp->GetStringWithoutPathExpansion(shill::kPaymentPortalURL, |
+ &payment_url_); |
} else if (key == shill::kSecurityProperty) { |
return GetStringValue(key, value, &security_); |
} else if (key == shill::kEapMethodProperty) { |