| 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 #include "chromeos/network/onc/onc_constants.h" | 5 #include "chromeos/network/onc/onc_constants.h" |
| 6 | 6 |
| 7 namespace chromeos { | 7 namespace chromeos { |
| 8 | 8 |
| 9 // Constants for ONC properties. | 9 // Constants for ONC properties. |
| 10 namespace onc { | 10 namespace onc { |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 const char kSIMLockStatus[] = "SIMLockStatus"; | 88 const char kSIMLockStatus[] = "SIMLockStatus"; |
| 89 const char kSIMPresent[] = "SIMPresent"; | 89 const char kSIMPresent[] = "SIMPresent"; |
| 90 const char kSupportedCarriers[] = "SupportedCarriers"; | 90 const char kSupportedCarriers[] = "SupportedCarriers"; |
| 91 const char kSupportNetworkScan[] = "SupportNetworkScan"; | 91 const char kSupportNetworkScan[] = "SupportNetworkScan"; |
| 92 } // namespace cellular | 92 } // namespace cellular |
| 93 | 93 |
| 94 namespace connection_state { | 94 namespace connection_state { |
| 95 const char kConnected[] = "Connected"; | 95 const char kConnected[] = "Connected"; |
| 96 const char kConnecting[] = "Connecting"; | 96 const char kConnecting[] = "Connecting"; |
| 97 const char kNotConnected[] = "NotConnected"; | 97 const char kNotConnected[] = "NotConnected"; |
| 98 } // namespace status | 98 } // namespace connection_state |
| 99 | 99 |
| 100 namespace ethernet { | 100 namespace ethernet { |
| 101 const char kAuthentication[] = "Authentication"; | 101 const char kAuthentication[] = "Authentication"; |
| 102 const char kEAP[] = "EAP"; | 102 const char kEAP[] = "EAP"; |
| 103 const char kNone[] = "None"; | 103 const char kNone[] = "None"; |
| 104 const char k8021X[] = "8021X"; | 104 const char k8021X[] = "8021X"; |
| 105 } // namespace ethernet | 105 } // namespace ethernet |
| 106 | 106 |
| 107 namespace ipconfig { | 107 namespace ipconfig { |
| 108 const char kGateway[] = "Gateway"; | 108 const char kGateway[] = "Gateway"; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 const char kIdentity[] = "Identity"; | 183 const char kIdentity[] = "Identity"; |
| 184 const char kInner[] = "Inner"; | 184 const char kInner[] = "Inner"; |
| 185 const char kLEAP[] = "LEAP"; | 185 const char kLEAP[] = "LEAP"; |
| 186 const char kMD5[] = "MD5"; | 186 const char kMD5[] = "MD5"; |
| 187 const char kMSCHAPv2[] = "MSCHAPv2"; | 187 const char kMSCHAPv2[] = "MSCHAPv2"; |
| 188 const char kOuter[] = "Outer"; | 188 const char kOuter[] = "Outer"; |
| 189 const char kPAP[] = "PAP"; | 189 const char kPAP[] = "PAP"; |
| 190 const char kPEAP[] = "PEAP"; | 190 const char kPEAP[] = "PEAP"; |
| 191 const char kPassword[] = "Password"; | 191 const char kPassword[] = "Password"; |
| 192 const char kSaveCredentials[] = "SaveCredentials"; | 192 const char kSaveCredentials[] = "SaveCredentials"; |
| 193 const char kServerCAPEM[] = "ServerCAPEM"; |
| 193 const char kServerCARef[] = "ServerCARef"; | 194 const char kServerCARef[] = "ServerCARef"; |
| 194 const char kUseSystemCAs[] = "UseSystemCAs"; | 195 const char kUseSystemCAs[] = "UseSystemCAs"; |
| 195 } // namespace eap | 196 } // namespace eap |
| 196 | 197 |
| 197 namespace vpn { | 198 namespace vpn { |
| 198 const char kAuthNoCache[] = "AuthNoCache"; | 199 const char kAuthNoCache[] = "AuthNoCache"; |
| 199 const char kAuthRetry[] = "AuthRetry"; | 200 const char kAuthRetry[] = "AuthRetry"; |
| 200 const char kAuth[] = "Auth"; | 201 const char kAuth[] = "Auth"; |
| 201 const char kAuthenticationType[] = "AuthenticationType"; | |
| 202 const char kAutoConnect[] = "AutoConnect"; | 202 const char kAutoConnect[] = "AutoConnect"; |
| 203 const char kCert[] = "Cert"; | |
| 204 const char kCipher[] = "Cipher"; | 203 const char kCipher[] = "Cipher"; |
| 205 const char kClientCertPattern[] = "ClientCertPattern"; | 204 const char kClientCertPattern[] = "ClientCertPattern"; |
| 206 const char kClientCertRef[] = "ClientCertRef"; | 205 const char kClientCertRef[] = "ClientCertRef"; |
| 207 const char kClientCertType[] = "ClientCertType"; | 206 const char kClientCertType[] = "ClientCertType"; |
| 208 const char kCompLZO[] = "CompLZO"; | 207 const char kCompLZO[] = "CompLZO"; |
| 209 const char kCompNoAdapt[] = "CompNoAdapt"; | 208 const char kCompNoAdapt[] = "CompNoAdapt"; |
| 210 const char kEAP[] = "EAP"; | |
| 211 const char kGroup[] = "Group"; | |
| 212 const char kHost[] = "Host"; | 209 const char kHost[] = "Host"; |
| 213 const char kIKEVersion[] = "IKEVersion"; | |
| 214 const char kIPsec[] = "IPsec"; | 210 const char kIPsec[] = "IPsec"; |
| 215 const char kKeyDirection[] = "KeyDirection"; | 211 const char kKeyDirection[] = "KeyDirection"; |
| 216 const char kL2TP[] = "L2TP"; | 212 const char kL2TP[] = "L2TP"; |
| 217 const char kNsCertType[] = "NsCertType"; | 213 const char kNsCertType[] = "NsCertType"; |
| 218 const char kOpenVPN[] = "OpenVPN"; | 214 const char kOpenVPN[] = "OpenVPN"; |
| 219 const char kPSK[] = "PSK"; | |
| 220 const char kPassword[] = "Password"; | 215 const char kPassword[] = "Password"; |
| 221 const char kPort[] = "Port"; | 216 const char kPort[] = "Port"; |
| 222 const char kProto[] = "Proto"; | 217 const char kProto[] = "Proto"; |
| 223 const char kPushPeerInfo[] = "PushPeerInfo"; | 218 const char kPushPeerInfo[] = "PushPeerInfo"; |
| 224 const char kRemoteCertEKU[] = "RemoteCertEKU"; | 219 const char kRemoteCertEKU[] = "RemoteCertEKU"; |
| 225 const char kRemoteCertKU[] = "RemoteCertKU"; | 220 const char kRemoteCertKU[] = "RemoteCertKU"; |
| 226 const char kRemoteCertTLS[] = "RemoteCertTLS"; | 221 const char kRemoteCertTLS[] = "RemoteCertTLS"; |
| 227 const char kRenegSec[] = "RenegSec"; | 222 const char kRenegSec[] = "RenegSec"; |
| 228 const char kSaveCredentials[] = "SaveCredentials"; | 223 const char kSaveCredentials[] = "SaveCredentials"; |
| 229 const char kServerCARef[] = "ServerCARef"; | 224 const char kServerCertPEM[] = "ServerCertPEM"; |
| 230 const char kServerCertRef[] = "ServerCertRef"; | 225 const char kServerCertRef[] = "ServerCertRef"; |
| 231 const char kServerPollTimeout[] = "ServerPollTimeout"; | 226 const char kServerPollTimeout[] = "ServerPollTimeout"; |
| 232 const char kShaper[] = "Shaper"; | 227 const char kShaper[] = "Shaper"; |
| 233 const char kStaticChallenge[] = "StaticChallenge"; | 228 const char kStaticChallenge[] = "StaticChallenge"; |
| 234 const char kTLSAuthContents[] = "TLSAuthContents"; | 229 const char kTLSAuthContents[] = "TLSAuthContents"; |
| 235 const char kTLSRemote[] = "TLSRemote"; | 230 const char kTLSRemote[] = "TLSRemote"; |
| 236 const char kTypeL2TP_IPsec[] = "L2TP-IPsec"; | 231 const char kTypeL2TP_IPsec[] = "L2TP-IPsec"; |
| 237 const char kType[] = "Type"; | 232 const char kType[] = "Type"; |
| 238 const char kUsername[] = "Username"; | 233 const char kUsername[] = "Username"; |
| 239 const char kVerb[] = "Verb"; | 234 const char kVerb[] = "Verb"; |
| 240 const char kXAUTH[] = "XAUTH"; | |
| 241 } // namespace vpn | 235 } // namespace vpn |
| 242 | 236 |
| 237 namespace ipsec { |
| 238 const char kAuthenticationType[] = "AuthenticationType"; |
| 239 const char kCert[] = "Cert"; |
| 240 const char kEAP[] = "EAP"; |
| 241 const char kGroup[] = "Group"; |
| 242 const char kIKEVersion[] = "IKEVersion"; |
| 243 const char kPSK[] = "PSK"; |
| 244 const char kServerCAPEM[] = "ServerCAPEM"; |
| 245 const char kServerCARef[] = "ServerCARef"; |
| 246 const char kXAUTH[] = "XAUTH"; |
| 247 } // namespace ipsec |
| 248 |
| 243 namespace openvpn { | 249 namespace openvpn { |
| 244 const char kNone[] = "none"; | |
| 245 const char kInteract[] = "interact"; | 250 const char kInteract[] = "interact"; |
| 246 const char kNoInteract[] = "nointeract"; | 251 const char kNoInteract[] = "nointeract"; |
| 252 const char kNone[] = "none"; |
| 253 const char kServerCAPEMs[] = "ServerCAPEMs"; |
| 254 const char kServerCARef[] = "ServerCARef"; |
| 247 const char kServer[] = "server"; | 255 const char kServer[] = "server"; |
| 248 } // namespace openvpn | 256 } // namespace openvpn |
| 249 | 257 |
| 250 namespace proxy { | 258 namespace proxy { |
| 251 const char kDirect[] = "Direct"; | 259 const char kDirect[] = "Direct"; |
| 252 const char kExcludeDomains[] = "ExcludeDomains"; | 260 const char kExcludeDomains[] = "ExcludeDomains"; |
| 253 const char kFtp[] = "FTPProxy"; | 261 const char kFtp[] = "FTPProxy"; |
| 254 const char kHost[] = "Host"; | 262 const char kHost[] = "Host"; |
| 255 const char kHttp[] = "HTTPProxy"; | 263 const char kHttp[] = "HTTPProxy"; |
| 256 const char kHttps[] = "SecureHTTPProxy"; | 264 const char kHttps[] = "SecureHTTPProxy"; |
| 257 const char kManual[] = "Manual"; | 265 const char kManual[] = "Manual"; |
| 258 const char kPAC[] = "PAC"; | 266 const char kPAC[] = "PAC"; |
| 259 const char kPort[] = "Port"; | 267 const char kPort[] = "Port"; |
| 260 const char kSocks[] = "SOCKS"; | 268 const char kSocks[] = "SOCKS"; |
| 261 const char kType[] = "Type"; | 269 const char kType[] = "Type"; |
| 262 const char kWPAD[] = "WPAD"; | 270 const char kWPAD[] = "WPAD"; |
| 263 } // namespace proxy | 271 } // namespace proxy |
| 264 | 272 |
| 265 namespace substitutes { | 273 namespace substitutes { |
| 266 const char kLoginIDField[] = "${LOGIN_ID}"; | 274 const char kLoginIDField[] = "${LOGIN_ID}"; |
| 267 const char kEmailField[] = "${LOGIN_EMAIL}"; | 275 const char kEmailField[] = "${LOGIN_EMAIL}"; |
| 268 } // namespace substitutes | 276 } // namespace substitutes |
| 269 | 277 |
| 270 } // namespace onc | 278 } // namespace onc |
| 271 | 279 |
| 272 } // namespace chromeos | 280 } // namespace chromeos |
| OLD | NEW |