| Index: chromeos/network/shill_property_handler.cc
|
| diff --git a/chromeos/network/shill_property_handler.cc b/chromeos/network/shill_property_handler.cc
|
| index 9fecfd6d5a09f92e9304d7023b24deabc68889bb..676999d5f8db87166ede91328fa537067cb1ebf8 100644
|
| --- a/chromeos/network/shill_property_handler.cc
|
| +++ b/chromeos/network/shill_property_handler.cc
|
| @@ -155,11 +155,10 @@ bool ShillPropertyHandler::ManagerPropertyChanged(const std::string& key,
|
| bool notify_manager_changed = false;
|
| if (key == flimflam::kServicesProperty) {
|
| const base::ListValue* vlist = GetListValue(key, value);
|
| - if (vlist)
|
| - UpdateManagedList(ManagedState::MANAGED_TYPE_NETWORK, *vlist);
|
| - } else if (key == flimflam::kServiceWatchListProperty) {
|
| - const base::ListValue* vlist = GetListValue(key, value);
|
| if (vlist) {
|
| + UpdateManagedList(ManagedState::MANAGED_TYPE_NETWORK, *vlist);
|
| + // TODO(stevenjb): Use kServiceWatchListProperty and request properties
|
| + // for new entries.
|
| UpdateObservedNetworkServices(*vlist);
|
| }
|
| } else if (key == flimflam::kDevicesProperty) {
|
| @@ -168,7 +167,7 @@ bool ShillPropertyHandler::ManagerPropertyChanged(const std::string& key,
|
| UpdateManagedList(ManagedState::MANAGED_TYPE_DEVICE, *vlist);
|
| } else if (key == flimflam::kAvailableTechnologiesProperty) {
|
| const base::ListValue* vlist = GetListValue(key, value);
|
| - if (vlist ) {
|
| + if (vlist) {
|
| listener_->UpdateAvailableTechnologies(*vlist);
|
| notify_manager_changed = true;
|
| }
|
|
|