ONC policy: Support SSID and Security change.

If the SSID of a ONC policy is changed without changing the GUID, this lead to a partial policy application where everything except the SSID is changed.
This happened because Shill doesn't allow changes of the SSID property after the network creation but the policy application code didn't respect that.

With this change, it's ensured that the respective network configuration (profile entry), is deleted and rewritten on each SSID change.

The same applies to the Security type of the network.

BUG=319362
R=bartfab@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235410 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed