Index: chromeos/network/shill_property_util.cc |
diff --git a/chromeos/network/shill_property_util.cc b/chromeos/network/shill_property_util.cc |
index 30772183a77685a599369a7f7faa500165a5f922..31709b3c1507a56d950c87e90289fe3b18f4299c 100644 |
--- a/chromeos/network/shill_property_util.cc |
+++ b/chromeos/network/shill_property_util.cc |
@@ -251,6 +251,18 @@ bool CopyIdentifyingProperties(const base::DictionaryValue& service_properties, |
return success; |
} |
+bool DoIdentifyingPropertiesMatch(const base::DictionaryValue& properties_a, |
+ const base::DictionaryValue& properties_b) { |
+ base::DictionaryValue identifying_a; |
+ if (!CopyIdentifyingProperties(properties_a, &identifying_a)) |
+ return false; |
+ base::DictionaryValue identifying_b; |
+ if (!CopyIdentifyingProperties(properties_b, &identifying_b)) |
+ return false; |
+ |
+ return identifying_a.Equals(&identifying_b); |
+} |
+ |
} // namespace shill_property_util |
namespace { |