Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: chromeos/dbus/shill_manager_client_stub.cc

Issue 12634019: NetworkChangeNotifierChromeos: Handle IPConfig property changes on the default network (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more cleanup Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 8681baf0c80ecd28ea80a67414585c605e2af15e..d813ea2380be781a4f326e4f8ab828f8f318d8de 100644
--- a/chromeos/dbus/shill_manager_client_stub.cc
+++ b/chromeos/dbus/shill_manager_client_stub.cc
@@ -176,8 +176,12 @@ void ShillManagerClientStub::ConfigureService(
return;
}
+ std::string ipconfig_path;
+ properties.GetString(shill::kIPConfigProperty, &ipconfig_path);
+
// Add the service to the service client stub if not already there.
- service_client->AddService(guid, guid, type, flimflam::kStateIdle, true);
+ service_client->AddService(guid, guid, type, flimflam::kStateIdle,
+ ipconfig_path, true);
// Merge the new properties with existing properties, if any.
scoped_ptr<base::DictionaryValue> merged_properties;

Powered by Google App Engine
This is Rietveld 408576698