Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: chromeos/network/shill_property_util.cc

Issue 68213018: ONC policy: Support SSID and Security change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/network/shill_property_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « chromeos/network/shill_property_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698