summaryrefslogtreecommitdiffstats
path: root/chromeos/network/shill_property_util.h
diff options
context:
space:
mode:
authorpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-15 20:19:46 +0000
committerpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-15 20:19:46 +0000
commitc427a06a820eafa0562dbb430b954e1e2d16f45f (patch)
tree664bff1d2fe708be7c724ddb3fdb48784b8b4d72 /chromeos/network/shill_property_util.h
parente0c0fe8626dde48dd4cb73018b983a5ad95bb8bd (diff)
downloadchromium_src-c427a06a820eafa0562dbb430b954e1e2d16f45f.zip
chromium_src-c427a06a820eafa0562dbb430b954e1e2d16f45f.tar.gz
chromium_src-c427a06a820eafa0562dbb430b954e1e2d16f45f.tar.bz2
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
Diffstat (limited to 'chromeos/network/shill_property_util.h')
-rw-r--r--chromeos/network/shill_property_util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chromeos/network/shill_property_util.h b/chromeos/network/shill_property_util.h
index dc1f45f..466b967 100644
--- a/chromeos/network/shill_property_util.h
+++ b/chromeos/network/shill_property_util.h
@@ -59,6 +59,13 @@ void SetUIData(const NetworkUIData& ui_data,
bool CopyIdentifyingProperties(const base::DictionaryValue& service_properties,
base::DictionaryValue* dest);
+// Compares the identifying configuration properties of |properties_a| and
+// |properties_b|, returns true if they are identical. See also
+// CopyIdentifyingProperties. Only WiFi, VPN, Ethernet and EthernetEAP are
+// supported. WiMax and Cellular are not supported.
+bool DoIdentifyingPropertiesMatch(const base::DictionaryValue& properties_a,
+ const base::DictionaryValue& properties_b);
+
} // namespace shill_property_util
class CHROMEOS_EXPORT NetworkTypePattern {