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

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: rebase 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
« no previous file with comments | « chromeos/dbus/shill_manager_client_stub.h ('k') | chromeos/dbus/shill_service_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 468c727bfabbac1e4b573937b8f2310905f1bda6..f19c5a5d2de8209759cc5ff623349f409562625c 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->AddServiceWithIPConfig(guid, guid, type, flimflam::kStateIdle,
+ ipconfig_path, true);
// Merge the new properties with existing properties, if any.
scoped_ptr<base::DictionaryValue> merged_properties;
« no previous file with comments | « chromeos/dbus/shill_manager_client_stub.h ('k') | chromeos/dbus/shill_service_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698