Index: chromeos/dbus/shill_manager_client_stub.cc |
diff --git a/chromeos/dbus/shill_manager_client_stub.cc b/chromeos/dbus/shill_manager_client_stub.cc |
index 35e8e25cc124d2a472fee9aab307e19f6c8745aa..9350076e985409d56454506f1c5fea848573330d 100644 |
--- a/chromeos/dbus/shill_manager_client_stub.cc |
+++ b/chromeos/dbus/shill_manager_client_stub.cc |
@@ -385,6 +385,23 @@ void ShillManagerClientStub::RemoveTechnology(const std::string& type) { |
} |
} |
+void ShillManagerClientStub::SetTechnologyInitializing(const std::string& type, |
+ bool initializing) { |
+ if (initializing) { |
+ if (GetListProperty(shill::kUninitializedTechnologiesProperty)-> |
+ AppendIfNotPresent(base::Value::CreateStringValue(type))) { |
+ CallNotifyObserversPropertyChanged( |
+ shill::kUninitializedTechnologiesProperty, 0); |
+ } |
+ } else { |
+ if (GetListProperty(shill::kUninitializedTechnologiesProperty)->Remove( |
+ base::StringValue(type), NULL)) { |
+ CallNotifyObserversPropertyChanged( |
+ shill::kUninitializedTechnologiesProperty, 0); |
+ } |
+ } |
+} |
+ |
void ShillManagerClientStub::ClearProperties() { |
stub_properties_.Clear(); |
} |