| 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..ab3452cc0c78d20c1489ba00fea405c9e100671d 100644
|
| --- a/chromeos/network/onc/onc_validator.h
|
| +++ b/chromeos/network/onc/onc_validator.h
|
| @@ -215,7 +215,13 @@ class CHROMEOS_EXPORT Validator : public Mapper {
|
|
|
| bool RequireField(const base::DictionaryValue& dict, const std::string& key);
|
|
|
| - bool CertPatternInDevicePolicy(const std::string& cert_type);
|
| + // Prohibit certificate patterns for device policy ONC so that an unmanaged
|
| + // user won't have a certificate presented for them involuntarily.
|
| + bool IsCertPatternInDevicePolicy(const std::string& cert_type);
|
| +
|
| + // Prohibit global network configuration in user ONC imports.
|
| + bool IsGlobalNetworkConfigInUserImport(
|
| + const base::DictionaryValue& onc_object);
|
|
|
| std::string MessageHeader();
|
|
|
|
|