| Index: chromeos/network/onc/onc_utils.h
|
| diff --git a/chromeos/network/onc/onc_utils.h b/chromeos/network/onc/onc_utils.h
|
| index c31cd2e4b4b75e5236942c58e5c58e91390c9eb0..0e2122efdd68a00a30c032dbe5f84fead16ee26b 100644
|
| --- a/chromeos/network/onc/onc_utils.h
|
| +++ b/chromeos/network/onc/onc_utils.h
|
| @@ -83,6 +83,17 @@ CHROMEOS_EXPORT void ExpandStringsInNetworks(
|
| const StringSubstitution& substitution,
|
| base::ListValue* network_configs);
|
|
|
| +// Fills in all missing HexSSID fields that are mentioned in the ONC
|
| +// specification. The object of |onc_object| is modified in place.
|
| +CHROMEOS_EXPORT void FillInHexSSIDFieldsInOncObject(
|
| + const OncValueSignature& signature,
|
| + base::DictionaryValue* onc_object);
|
| +
|
| +// If the SSID field is set, but HexSSID is not, converts the contents of the
|
| +// SSID field to UTF-8 encoding, creates the hex representation and assigns the
|
| +// result to HexSSID.
|
| +CHROMEOS_EXPORT void FillInHexSSIDField(base::DictionaryValue* wifi_fields);
|
| +
|
| // Creates a copy of |onc_object| with all values of sensitive fields replaced
|
| // by |mask|. To find sensitive fields, signature and field name are checked
|
| // with the function FieldIsCredential().
|
|
|