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

Side by Side Diff: chromeos/network/onc/onc_validator.h

Issue 1019033002: Add an ONC property for the third-party VPN provider extension ID (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed browser tests. Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « chromeos/network/onc/onc_translator_unittest.cc ('k') | chromeos/network/onc/onc_validator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chromeos/network/onc/onc_translator_unittest.cc ('k') | chromeos/network/onc/onc_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698