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

Unified Diff: chrome/browser/chromeos/net/managed_network_configuration_handler.cc

Issue 12319145: Using the new Network*Handlers in networkingPrivate Extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed some closing periods from comments. 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: chrome/browser/chromeos/net/managed_network_configuration_handler.cc
diff --git a/chrome/browser/chromeos/net/managed_network_configuration_handler.cc b/chrome/browser/chromeos/net/managed_network_configuration_handler.cc
index 27ea5fadea447d672a819b11ce208a3a27c21b0f..297265cf3ef139249084560b5c040b7e2fc14725 100644
--- a/chrome/browser/chromeos/net/managed_network_configuration_handler.cc
+++ b/chrome/browser/chromeos/net/managed_network_configuration_handler.cc
@@ -64,7 +64,7 @@ void TranslatePropertiesAndRunCallback(
scoped_ptr<base::DictionaryValue> onc_network(
onc::TranslateShillServiceToONCPart(
shill_properties,
- &onc::kNetworkConfigurationSignature));
+ &onc::kNetworkWithStateSignature));
callback.Run(service_path, *onc_network);
}
@@ -130,9 +130,8 @@ void ManagedNetworkConfigurationHandler::SetProperties(
// TODO(pneubeck): Enforce policies.
scoped_ptr<base::DictionaryValue> shill_dictionary(
- onc::TranslateONCObjectToShill(
- &onc::kNetworkConfigurationSignature,
- properties));
+ onc::TranslateONCObjectToShill(&onc::kNetworkConfigurationSignature,
+ properties));
NetworkConfigurationHandler::Get()->SetProperties(service_path,
*shill_dictionary,

Powered by Google App Engine
This is Rietveld 408576698