OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "components/onc/onc_constants.h" | 5 #include "components/onc/onc_constants.h" |
6 | 6 |
7 // Constants for ONC properties. | 7 // Constants for ONC properties. |
8 namespace onc { | 8 namespace onc { |
9 | 9 |
10 const char kAugmentationActiveSetting[] = "Active"; | 10 const char kAugmentationActiveSetting[] = "Active"; |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 const char kServerCAPEMs[] = "ServerCAPEMs"; | 258 const char kServerCAPEMs[] = "ServerCAPEMs"; |
259 const char kServerCertPEM[] = "ServerCertPEM"; | 259 const char kServerCertPEM[] = "ServerCertPEM"; |
260 const char kServerCertRef[] = "ServerCertRef"; | 260 const char kServerCertRef[] = "ServerCertRef"; |
261 const char kServerPollTimeout[] = "ServerPollTimeout"; | 261 const char kServerPollTimeout[] = "ServerPollTimeout"; |
262 const char kServer[] = "server"; | 262 const char kServer[] = "server"; |
263 const char kShaper[] = "Shaper"; | 263 const char kShaper[] = "Shaper"; |
264 const char kStaticChallenge[] = "StaticChallenge"; | 264 const char kStaticChallenge[] = "StaticChallenge"; |
265 const char kTLSAuthContents[] = "TLSAuthContents"; | 265 const char kTLSAuthContents[] = "TLSAuthContents"; |
266 const char kTLSRemote[] = "TLSRemote"; | 266 const char kTLSRemote[] = "TLSRemote"; |
267 const char kVerb[] = "Verb"; | 267 const char kVerb[] = "Verb"; |
| 268 const char kVerifyHash[] = "VerifyHash"; |
| 269 const char kVerifyX509[] = "VerifyX509"; |
268 } // namespace openvpn | 270 } // namespace openvpn |
269 | 271 |
| 272 namespace verify_x509 { |
| 273 const char kName[] = "Name"; |
| 274 const char kType[] = "Type"; |
| 275 |
| 276 namespace types { |
| 277 const char kName[] = "name"; |
| 278 const char kNamePrefix[] = "name-prefix"; |
| 279 const char kSubject[] = "subject"; |
| 280 } // namespace types |
| 281 } // namespace verify_x509 |
| 282 |
270 namespace proxy { | 283 namespace proxy { |
271 const char kDirect[] = "Direct"; | 284 const char kDirect[] = "Direct"; |
272 const char kExcludeDomains[] = "ExcludeDomains"; | 285 const char kExcludeDomains[] = "ExcludeDomains"; |
273 const char kFtp[] = "FTPProxy"; | 286 const char kFtp[] = "FTPProxy"; |
274 const char kHost[] = "Host"; | 287 const char kHost[] = "Host"; |
275 const char kHttp[] = "HTTPProxy"; | 288 const char kHttp[] = "HTTPProxy"; |
276 const char kHttps[] = "SecureHTTPProxy"; | 289 const char kHttps[] = "SecureHTTPProxy"; |
277 const char kManual[] = "Manual"; | 290 const char kManual[] = "Manual"; |
278 const char kPAC[] = "PAC"; | 291 const char kPAC[] = "PAC"; |
279 const char kPort[] = "Port"; | 292 const char kPort[] = "Port"; |
280 const char kSocks[] = "SOCKS"; | 293 const char kSocks[] = "SOCKS"; |
281 const char kType[] = "Type"; | 294 const char kType[] = "Type"; |
282 const char kWPAD[] = "WPAD"; | 295 const char kWPAD[] = "WPAD"; |
283 } // namespace proxy | 296 } // namespace proxy |
284 | 297 |
285 namespace substitutes { | 298 namespace substitutes { |
286 const char kLoginIDField[] = "${LOGIN_ID}"; | 299 const char kLoginIDField[] = "${LOGIN_ID}"; |
287 const char kEmailField[] = "${LOGIN_EMAIL}"; | 300 const char kEmailField[] = "${LOGIN_EMAIL}"; |
288 } // namespace substitutes | 301 } // namespace substitutes |
289 | 302 |
290 namespace global_network_config { | 303 namespace global_network_config { |
291 const char kAllowOnlyPolicyNetworksToAutoconnect[] = | 304 const char kAllowOnlyPolicyNetworksToAutoconnect[] = |
292 "AllowOnlyPolicyNetworksToAutoconnect"; | 305 "AllowOnlyPolicyNetworksToAutoconnect"; |
293 } // global_network_config | 306 } // global_network_config |
294 | 307 |
295 } // namespace onc | 308 } // namespace onc |
296 | 309 |
OLD | NEW |