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

Unified Diff: chromeos/network/onc/onc_utils.h

Issue 433143002: Split onc::IsRecommendedValue into onc_utils.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comments Created 6 years, 4 months 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 | « chrome/browser/chromeos/options/network_property_ui_data.cc ('k') | chromeos/network/onc/onc_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/onc/onc_utils.h
diff --git a/chromeos/network/onc/onc_utils.h b/chromeos/network/onc/onc_utils.h
index 261ae49dbabbcf802a903f1f80cd2c037599f508..c31cd2e4b4b75e5236942c58e5c58e91390c9eb0 100644
--- a/chromeos/network/onc/onc_utils.h
+++ b/chromeos/network/onc/onc_utils.h
@@ -130,6 +130,10 @@ CHROMEOS_EXPORT bool ResolveServerCertRefsInNetwork(
CHROMEOS_EXPORT NetworkTypePattern NetworkTypePatternFromOncType(
const std::string& type);
+// Returns true if |property_key| is a recommended value in the ONC dictionary.
+CHROMEOS_EXPORT bool IsRecommendedValue(const base::DictionaryValue* onc,
+ const std::string& property_key);
+
} // namespace onc
} // namespace chromeos
« no previous file with comments | « chrome/browser/chromeos/options/network_property_ui_data.cc ('k') | chromeos/network/onc/onc_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698