Index: chromeos/network/onc/onc_validator.h |
diff --git a/chromeos/network/onc/onc_validator.h b/chromeos/network/onc/onc_validator.h |
index ef192607723be66966ae5a58fdac286d4ab78498..776534f50cdd580dd49c1a45273b22cc8a237dfe 100644 |
--- a/chromeos/network/onc/onc_validator.h |
+++ b/chromeos/network/onc/onc_validator.h |
@@ -215,8 +215,13 @@ class CHROMEOS_EXPORT Validator : public Mapper { |
bool RequireField(const base::DictionaryValue& dict, const std::string& key); |
+ // Prohibit certificate patterns for device policy ONC so that an unmanaged |
+ // user won't have a certificate presented for them involuntarily. |
bool CertPatternInDevicePolicy(const std::string& cert_type); |
+ // Prohibit global network configuration in user ONC imports. |
+ bool GlobalNetworkConfigInUserImport(const base::DictionaryValue& onc_object); |
bartfab (slow)
2013/10/16 12:40:31
Nit: Could these methods that return a bool be pre
pneubeck (no reviews)
2013/10/17 10:22:26
Done.
|
+ |
std::string MessageHeader(); |
const bool error_on_unknown_field_; |