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

Unified Diff: chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc

Issue 759663004: ONC: add support for non-utf-8 SSIDs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adjusted onc_spec.html Created 6 years, 1 month 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/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 cc287acaeefdd172e273d2f1a8ee6617ce53e261..fac7309b0042c562ef4a9d90a9373414fcc01c26 100644
--- a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
+++ b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
@@ -224,6 +224,10 @@ bool NetworkConfigurationPolicyHandler::CheckPolicySettings(
else if (validation_result == chromeos::onc::Validator::INVALID)
errors->AddError(policy_name(), IDS_POLICY_NETWORK_CONFIG_IMPORT_FAILED);
+ // fill in HexSSID field from contents of SSID field if not set already
pneubeck (no reviews) 2014/11/27 14:49:02 ah. In this case, you don't have to fix the HexSSI
cschuet (SLOW) 2014/11/27 15:44:30 Done.
+ chromeos::onc::FillInHexSSIDFieldsInOncObject(
+ chromeos::onc::kToplevelConfigurationSignature, root_dict.get());
+
// In any case, don't reject the policy as some networks or certificates
// could still be applied.
}

Powered by Google App Engine
This is Rietveld 408576698