Index: chromeos/dbus/fake_shill_manager_client.cc |
diff --git a/chromeos/dbus/fake_shill_manager_client.cc b/chromeos/dbus/fake_shill_manager_client.cc |
index 95486b5d7d141d11722f7e06d99a037a51be55b6..d3ad56641aa07e74879092b1a6ad95559420655a 100644 |
--- a/chromeos/dbus/fake_shill_manager_client.cc |
+++ b/chromeos/dbus/fake_shill_manager_client.cc |
@@ -536,6 +536,16 @@ void FakeShillManagerClient::NotifyObserversPropertyChanged( |
OnPropertyChanged(property, *(services.get()))); |
return; |
} |
+ if (property == shill::kDevicesProperty) { |
+ base::ListValue* devices = NULL; |
+ if (stub_properties_.GetListWithoutPathExpansion( |
+ shill::kDevicesProperty, &devices)) { |
+ FOR_EACH_OBSERVER(ShillPropertyChangedObserver, |
+ observer_list_, |
+ OnPropertyChanged(property, *devices)); |
+ } |
+ return; |
+ } |
base::Value* value = NULL; |
if (!stub_properties_.GetWithoutPathExpansion(property, &value)) { |
LOG(ERROR) << "Notify for unknown property: " << property; |