Chromium Code Reviews| Index: chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc |
| diff --git a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc |
| index 71796220df704b256279e2e38cbd1ca70a22a3cf..504457f36f7c3cbad5976e7c67028d30fb6a4ea1 100644 |
| --- a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc |
| +++ b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc |
| @@ -105,9 +105,16 @@ void NetworkConfigurationPolicyHandler::ApplyPolicySettings( |
| scoped_ptr<base::ListValue> network_configs(new base::ListValue); |
| base::ListValue certificates; |
| - chromeos::onc::ParseAndValidateOncForImport( |
| - onc_blob, onc_source_, "", network_configs.get(), &certificates); |
| - |
| + base::DictionaryValue global_network_config; |
| + chromeos::onc::ParseAndValidateOncForImport(onc_blob, |
| + onc_source_, |
| + "", |
| + network_configs.get(), |
| + &global_network_config, |
| + &certificates); |
| + |
| + // Currently, only the per network configuration is stored in a pref. Ignore |
|
bartfab (slow)
2013/10/16 12:40:31
Nit: s/per network/per-network/
pneubeck (no reviews)
2013/10/17 10:22:26
Done.
|
| + // |global_network_config| and |certificates|. |
| prefs->SetValue(pref_path_, network_configs.release()); |
| } |