| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROMEOS_NETWORK_ONC_ONC_VALIDATOR_H_ | 5 #ifndef CHROMEOS_NETWORK_ONC_ONC_VALIDATOR_H_ |
| 6 #define CHROMEOS_NETWORK_ONC_ONC_VALIDATOR_H_ | 6 #define CHROMEOS_NETWORK_ONC_ONC_VALIDATOR_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 base::DictionaryValue* result); | 153 base::DictionaryValue* result); |
| 154 | 154 |
| 155 bool ValidateToplevelConfiguration(base::DictionaryValue* result); | 155 bool ValidateToplevelConfiguration(base::DictionaryValue* result); |
| 156 bool ValidateNetworkConfiguration(base::DictionaryValue* result); | 156 bool ValidateNetworkConfiguration(base::DictionaryValue* result); |
| 157 bool ValidateEthernet(base::DictionaryValue* result); | 157 bool ValidateEthernet(base::DictionaryValue* result); |
| 158 bool ValidateIPConfig(base::DictionaryValue* result); | 158 bool ValidateIPConfig(base::DictionaryValue* result); |
| 159 bool ValidateWiFi(base::DictionaryValue* result); | 159 bool ValidateWiFi(base::DictionaryValue* result); |
| 160 bool ValidateVPN(base::DictionaryValue* result); | 160 bool ValidateVPN(base::DictionaryValue* result); |
| 161 bool ValidateIPsec(base::DictionaryValue* result); | 161 bool ValidateIPsec(base::DictionaryValue* result); |
| 162 bool ValidateOpenVPN(base::DictionaryValue* result); | 162 bool ValidateOpenVPN(base::DictionaryValue* result); |
| 163 bool ValidateThirdPartyVPN(base::DictionaryValue* result); |
| 163 bool ValidateVerifyX509(base::DictionaryValue* result); | 164 bool ValidateVerifyX509(base::DictionaryValue* result); |
| 164 bool ValidateCertificatePattern(base::DictionaryValue* result); | 165 bool ValidateCertificatePattern(base::DictionaryValue* result); |
| 165 bool ValidateProxySettings(base::DictionaryValue* result); | 166 bool ValidateProxySettings(base::DictionaryValue* result); |
| 166 bool ValidateProxyLocation(base::DictionaryValue* result); | 167 bool ValidateProxyLocation(base::DictionaryValue* result); |
| 167 bool ValidateEAP(base::DictionaryValue* result); | 168 bool ValidateEAP(base::DictionaryValue* result); |
| 168 bool ValidateCertificate(base::DictionaryValue* result); | 169 bool ValidateCertificate(base::DictionaryValue* result); |
| 169 | 170 |
| 170 bool FieldExistsAndHasNoValidValue( | 171 bool FieldExistsAndHasNoValidValue( |
| 171 const base::DictionaryValue& object, | 172 const base::DictionaryValue& object, |
| 172 const std::string& field_name, | 173 const std::string& field_name, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 // function ValidateAndRepairObject. | 228 // function ValidateAndRepairObject. |
| 228 bool error_or_warning_found_; | 229 bool error_or_warning_found_; |
| 229 | 230 |
| 230 DISALLOW_COPY_AND_ASSIGN(Validator); | 231 DISALLOW_COPY_AND_ASSIGN(Validator); |
| 231 }; | 232 }; |
| 232 | 233 |
| 233 } // namespace onc | 234 } // namespace onc |
| 234 } // namespace chromeos | 235 } // namespace chromeos |
| 235 | 236 |
| 236 #endif // CHROMEOS_NETWORK_ONC_ONC_VALIDATOR_H_ | 237 #endif // CHROMEOS_NETWORK_ONC_ONC_VALIDATOR_H_ |
| OLD | NEW |