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

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

Issue 61903002: ChromeOS: Add more host verification options for OpenVpn. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Made 'type' optional. More tests. Created 7 years, 1 month 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 | Annotate | Revision Log
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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 base::DictionaryValue* result); 174 base::DictionaryValue* result);
175 175
176 bool ValidateIPsec( 176 bool ValidateIPsec(
177 const base::DictionaryValue& onc_object, 177 const base::DictionaryValue& onc_object,
178 base::DictionaryValue* result); 178 base::DictionaryValue* result);
179 179
180 bool ValidateOpenVPN( 180 bool ValidateOpenVPN(
181 const base::DictionaryValue& onc_object, 181 const base::DictionaryValue& onc_object,
182 base::DictionaryValue* result); 182 base::DictionaryValue* result);
183 183
184 bool ValidateVerifyX509(
185 const base::DictionaryValue& onc_object,
186 base::DictionaryValue* result);
187
184 bool ValidateCertificatePattern( 188 bool ValidateCertificatePattern(
185 const base::DictionaryValue& onc_object, 189 const base::DictionaryValue& onc_object,
186 base::DictionaryValue* result); 190 base::DictionaryValue* result);
187 191
188 bool ValidateProxySettings( 192 bool ValidateProxySettings(
189 const base::DictionaryValue& onc_object, 193 const base::DictionaryValue& onc_object,
190 base::DictionaryValue* result); 194 base::DictionaryValue* result);
191 195
192 bool ValidateProxyLocation( 196 bool ValidateProxyLocation(
193 const base::DictionaryValue& onc_object, 197 const base::DictionaryValue& onc_object,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 // function ValidateAndRepairObject. 244 // function ValidateAndRepairObject.
241 bool error_or_warning_found_; 245 bool error_or_warning_found_;
242 246
243 DISALLOW_COPY_AND_ASSIGN(Validator); 247 DISALLOW_COPY_AND_ASSIGN(Validator);
244 }; 248 };
245 249
246 } // namespace onc 250 } // namespace onc
247 } // namespace chromeos 251 } // namespace chromeos
248 252
249 #endif // CHROMEOS_NETWORK_ONC_ONC_VALIDATOR_H_ 253 #endif // CHROMEOS_NETWORK_ONC_ONC_VALIDATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698