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

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

Issue 368233004: ONC: Cleanup client certificate related fields. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
Index: chromeos/network/onc/onc_validator.h
diff --git a/chromeos/network/onc/onc_validator.h b/chromeos/network/onc/onc_validator.h
index eeed1120ceb3954c0312a70716ba604c64f8c9a7..04df05a48e1a8af734b64489a6bcd629423a0b43 100644
--- a/chromeos/network/onc/onc_validator.h
+++ b/chromeos/network/onc/onc_validator.h
@@ -146,6 +146,12 @@ class CHROMEOS_EXPORT Validator : public Mapper {
bool ValidateRecommendedField(const OncValueSignature& object_signature,
base::DictionaryValue* result);
+ // Validates the ClientCert* fields in a VPN or EAP object. Only if
+ // |allow_cert_type_none| is true, the value "None" is allowed as
+ // ClientCertType.
+ bool ValidateClientCertFields(base::DictionaryValue* result,
+ bool allow_cert_type_none);
stevenjb 2014/07/07 19:19:14 'result' should be last arg
pneubeck (no reviews) 2014/07/08 09:14:37 Done.
+
bool ValidateToplevelConfiguration(base::DictionaryValue* result);
bool ValidateNetworkConfiguration(base::DictionaryValue* result);
bool ValidateEthernet(base::DictionaryValue* result);

Powered by Google App Engine
This is Rietveld 408576698