ONC: Use HexSSID instead of SSID.
commit63f02baf9abbb2f28e2f1676ed10310fcf22eeb2
authorpneubeck <pneubeck@chromium.org>
Tue, 13 Jan 2015 17:14:27 +0000 (13 09:14 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 13 Jan 2015 17:16:01 +0000 (13 17:16 +0000)
treefee99e352b89336b66261f25ff017017d12d6cb0
parentd8c8e56321d4c9135ad7d5015db99fbb0e2ec4c2
ONC: Use HexSSID instead of SSID.

- Comparison of a network policy with network will use HexSSID now.
- Translation from ONC to Shill now copies the HexSSID instead of translating SSID.
- Fix ONC validation of HexSSID/SSID to be case insensitive.
- When setting an ONC: SSID will be ignored if HexSSID is present
- Reading network properties reports a HexSSID in ONC.

BUG=432546

Review URL: https://codereview.chromium.org/823633004

Cr-Commit-Position: refs/heads/master@{#311281}
33 files changed:
chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc
chrome/browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc
chrome/test/data/extensions/api_test/networking/test.js
chromeos/network/auto_connect_handler_unittest.cc
chromeos/network/onc/onc_translation_tables.cc
chromeos/network/onc/onc_translator_onc_to_shill.cc
chromeos/network/onc/onc_translator_shill_to_onc.cc
chromeos/network/onc/onc_translator_unittest.cc
chromeos/network/onc/onc_utils.cc
chromeos/network/onc/onc_validator.cc
chromeos/network/onc/onc_validator.h
chromeos/network/onc/onc_validator_unittest.cc
chromeos/network/policy_util.cc
chromeos/network/shill_property_util.h
chromeos/test/data/network/invalid_settings_with_repairs.json
chromeos/test/data/network/policy/managed_onc_disallow_autoconnect_on_unmanaged_wifi2.onc
chromeos/test/data/network/policy/policy_wifi1.onc
chromeos/test/data/network/repaired_toplevel_partially_invalid.onc
chromeos/test/data/network/shill_wifi_clientcert.json
chromeos/test/data/network/shill_wifi_clientref.json
chromeos/test/data/network/shill_wifi_non_utf8_ssid.json [new file with mode: 0644]
chromeos/test/data/network/toplevel_partially_invalid.onc
chromeos/test/data/network/toplevel_wifi_ssid_and_hexssid.onc
chromeos/test/data/network/translation_of_shill_wifi_clientcert.onc
chromeos/test/data/network/translation_of_shill_wifi_non_utf8_ssid.onc [new file with mode: 0644]
chromeos/test/data/network/translation_of_shill_wifi_with_state.onc
chromeos/test/data/network/valid_wifi_clientref.onc
chromeos/test/data/network/valid_wifi_psk.onc
chromeos/test/data/network/wifi_clientcert_with_cert_pems.onc
chromeos/test/data/network/wifi_dhcp.onc
components/onc/docs/onc_spec.html
components/wifi/network_properties.cc
components/wifi/network_properties.h