| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 122 }  // namespace cellular_apn | 122 }  // namespace cellular_apn | 
| 123 | 123 | 
| 124 namespace connection_state { | 124 namespace connection_state { | 
| 125 const char kConnected[] = "Connected"; | 125 const char kConnected[] = "Connected"; | 
| 126 const char kConnecting[] = "Connecting"; | 126 const char kConnecting[] = "Connecting"; | 
| 127 const char kNotConnected[] = "NotConnected"; | 127 const char kNotConnected[] = "NotConnected"; | 
| 128 }  // namespace connection_state | 128 }  // namespace connection_state | 
| 129 | 129 | 
| 130 namespace ethernet { | 130 namespace ethernet { | 
| 131 const char kAuthentication[] = "Authentication"; | 131 const char kAuthentication[] = "Authentication"; | 
|  | 132 const char kAuthenticationNone[] = "None"; | 
| 132 const char kEAP[] = "EAP"; | 133 const char kEAP[] = "EAP"; | 
| 133 const char kNone[] = "None"; |  | 
| 134 const char k8021X[] = "8021X"; | 134 const char k8021X[] = "8021X"; | 
| 135 }  // namespace ethernet | 135 }  // namespace ethernet | 
| 136 | 136 | 
| 137 namespace ipconfig { | 137 namespace ipconfig { | 
| 138 const char kGateway[] = "Gateway"; | 138 const char kGateway[] = "Gateway"; | 
| 139 const char kIPAddress[] = "IPAddress"; | 139 const char kIPAddress[] = "IPAddress"; | 
| 140 const char kIPv4[] = "IPv4"; | 140 const char kIPv4[] = "IPv4"; | 
| 141 const char kIPv6[] = "IPv6"; | 141 const char kIPv6[] = "IPv6"; | 
| 142 const char kNameServers[] = "NameServers"; | 142 const char kNameServers[] = "NameServers"; | 
| 143 const char kRoutingPrefix[] = "RoutingPrefix"; | 143 const char kRoutingPrefix[] = "RoutingPrefix"; | 
| 144 const char kType[] = "Type"; | 144 const char kType[] = "Type"; | 
| 145 }  // namespace ipconfig | 145 }  // namespace ipconfig | 
| 146 | 146 | 
| 147 namespace wifi { | 147 namespace wifi { | 
| 148 const char kAutoConnect[] = "AutoConnect"; | 148 const char kAutoConnect[] = "AutoConnect"; | 
| 149 const char kBSSID[] = "BSSID"; | 149 const char kBSSID[] = "BSSID"; | 
| 150 const char kEAP[] = "EAP"; | 150 const char kEAP[] = "EAP"; | 
| 151 const char kFrequency[] = "Frequency"; | 151 const char kFrequency[] = "Frequency"; | 
| 152 const char kFrequencyList[] = "FrequencyList"; | 152 const char kFrequencyList[] = "FrequencyList"; | 
| 153 const char kHiddenSSID[] = "HiddenSSID"; | 153 const char kHiddenSSID[] = "HiddenSSID"; | 
| 154 const char kNone[] = "None"; |  | 
| 155 const char kPassphrase[] = "Passphrase"; | 154 const char kPassphrase[] = "Passphrase"; | 
| 156 const char kProxyURL[] = "ProxyURL"; | 155 const char kProxyURL[] = "ProxyURL"; | 
| 157 const char kSSID[] = "SSID"; | 156 const char kSSID[] = "SSID"; | 
| 158 const char kSecurity[] = "Security"; | 157 const char kSecurity[] = "Security"; | 
|  | 158 const char kSecurityNone[] = "None"; | 
| 159 const char kSignalStrength[] = "SignalStrength"; | 159 const char kSignalStrength[] = "SignalStrength"; | 
| 160 const char kWEP_8021X[] = "WEP-8021X"; | 160 const char kWEP_8021X[] = "WEP-8021X"; | 
| 161 const char kWEP_PSK[] = "WEP-PSK"; | 161 const char kWEP_PSK[] = "WEP-PSK"; | 
| 162 const char kWPA_EAP[] = "WPA-EAP"; | 162 const char kWPA_EAP[] = "WPA-EAP"; | 
| 163 const char kWPA_PSK[] = "WPA-PSK"; | 163 const char kWPA_PSK[] = "WPA-PSK"; | 
| 164 const char kWPA2_PSK[] = "WPA2-PSK"; | 164 const char kWPA2_PSK[] = "WPA2-PSK"; | 
| 165 }  // namespace wifi | 165 }  // namespace wifi | 
| 166 | 166 | 
| 167 namespace certificate { | 167 namespace client_cert { | 
| 168 const char kAuthority[] = "Authority"; | 168 const char kClientCertPattern[] = "ClientCertPattern"; | 
| 169 const char kClient[] = "Client"; | 169 const char kClientCertRef[] = "ClientCertRef"; | 
|  | 170 const char kClientCertType[] = "ClientCertType"; | 
| 170 const char kCommonName[] = "CommonName"; | 171 const char kCommonName[] = "CommonName"; | 
| 171 const char kEmailAddress[] = "EmailAddress"; | 172 const char kEmailAddress[] = "EmailAddress"; | 
| 172 const char kEnrollmentURI[] = "EnrollmentURI"; | 173 const char kEnrollmentURI[] = "EnrollmentURI"; | 
| 173 const char kGUID[] = "GUID"; |  | 
| 174 const char kIssuerCARef[] = "IssuerCARef"; | 174 const char kIssuerCARef[] = "IssuerCARef"; | 
| 175 const char kIssuerCAPEMs[] = "IssuerCAPEMs"; | 175 const char kIssuerCAPEMs[] = "IssuerCAPEMs"; | 
| 176 const char kIssuer[] = "Issuer"; | 176 const char kIssuer[] = "Issuer"; | 
| 177 const char kLocality[] = "Locality"; | 177 const char kLocality[] = "Locality"; | 
| 178 const char kNone[] = "None"; | 178 const char kNone[] = "None"; | 
| 179 const char kOrganization[] = "Organization"; | 179 const char kOrganization[] = "Organization"; | 
| 180 const char kOrganizationalUnit[] = "OrganizationalUnit"; | 180 const char kOrganizationalUnit[] = "OrganizationalUnit"; | 
| 181 const char kPKCS12[] = "PKCS12"; |  | 
| 182 const char kPattern[] = "Pattern"; | 181 const char kPattern[] = "Pattern"; | 
| 183 const char kRef[] = "Ref"; | 182 const char kRef[] = "Ref"; | 
|  | 183 const char kSubject[] = "Subject"; | 
|  | 184 }  // namespace client_cert | 
|  | 185 | 
|  | 186 namespace certificate { | 
|  | 187 const char kAuthority[] = "Authority"; | 
|  | 188 const char kClient[] = "Client"; | 
|  | 189 const char kGUID[] = "GUID"; | 
|  | 190 const char kPKCS12[] = "PKCS12"; | 
| 184 const char kServer[] = "Server"; | 191 const char kServer[] = "Server"; | 
| 185 const char kSubject[] = "Subject"; |  | 
| 186 const char kTrustBits[] = "TrustBits"; | 192 const char kTrustBits[] = "TrustBits"; | 
| 187 const char kType[] = "Type"; | 193 const char kType[] = "Type"; | 
| 188 const char kWeb[] = "Web"; | 194 const char kWeb[] = "Web"; | 
| 189 const char kX509[] = "X509"; | 195 const char kX509[] = "X509"; | 
| 190 }  // namespace certificate | 196 }  // namespace certificate | 
| 191 | 197 | 
| 192 namespace encrypted { | 198 namespace encrypted { | 
| 193 const char kAES256[] = "AES256"; | 199 const char kAES256[] = "AES256"; | 
| 194 const char kCipher[] = "Cipher"; | 200 const char kCipher[] = "Cipher"; | 
| 195 const char kCiphertext[] = "Ciphertext"; | 201 const char kCiphertext[] = "Ciphertext"; | 
| 196 const char kHMACMethod[] = "HMACMethod"; | 202 const char kHMACMethod[] = "HMACMethod"; | 
| 197 const char kHMAC[] = "HMAC"; | 203 const char kHMAC[] = "HMAC"; | 
| 198 const char kIV[] = "IV"; | 204 const char kIV[] = "IV"; | 
| 199 const char kIterations[] = "Iterations"; | 205 const char kIterations[] = "Iterations"; | 
| 200 const char kPBKDF2[] = "PBKDF2"; | 206 const char kPBKDF2[] = "PBKDF2"; | 
| 201 const char kSHA1[] = "SHA1"; | 207 const char kSHA1[] = "SHA1"; | 
| 202 const char kSalt[] = "Salt"; | 208 const char kSalt[] = "Salt"; | 
| 203 const char kStretch[] = "Stretch"; | 209 const char kStretch[] = "Stretch"; | 
| 204 }  // namespace encrypted | 210 }  // namespace encrypted | 
| 205 | 211 | 
| 206 namespace eap { | 212 namespace eap { | 
| 207 const char kAnonymousIdentity[] = "AnonymousIdentity"; | 213 const char kAnonymousIdentity[] = "AnonymousIdentity"; | 
| 208 const char kAutomatic[] = "Automatic"; | 214 const char kAutomatic[] = "Automatic"; | 
| 209 const char kClientCertPattern[] = "ClientCertPattern"; |  | 
| 210 const char kClientCertRef[] = "ClientCertRef"; |  | 
| 211 const char kClientCertType[] = "ClientCertType"; |  | 
| 212 const char kEAP_AKA[] = "EAP-AKA"; | 215 const char kEAP_AKA[] = "EAP-AKA"; | 
| 213 const char kEAP_FAST[] = "EAP-FAST"; | 216 const char kEAP_FAST[] = "EAP-FAST"; | 
| 214 const char kEAP_SIM[] = "EAP-SIM"; | 217 const char kEAP_SIM[] = "EAP-SIM"; | 
| 215 const char kEAP_TLS[] = "EAP-TLS"; | 218 const char kEAP_TLS[] = "EAP-TLS"; | 
| 216 const char kEAP_TTLS[] = "EAP-TTLS"; | 219 const char kEAP_TTLS[] = "EAP-TTLS"; | 
| 217 const char kIdentity[] = "Identity"; | 220 const char kIdentity[] = "Identity"; | 
| 218 const char kInner[] = "Inner"; | 221 const char kInner[] = "Inner"; | 
| 219 const char kLEAP[] = "LEAP"; | 222 const char kLEAP[] = "LEAP"; | 
| 220 const char kMD5[] = "MD5"; | 223 const char kMD5[] = "MD5"; | 
| 221 const char kMSCHAPv2[] = "MSCHAPv2"; | 224 const char kMSCHAPv2[] = "MSCHAPv2"; | 
| 222 const char kOuter[] = "Outer"; | 225 const char kOuter[] = "Outer"; | 
| 223 const char kPAP[] = "PAP"; | 226 const char kPAP[] = "PAP"; | 
| 224 const char kPEAP[] = "PEAP"; | 227 const char kPEAP[] = "PEAP"; | 
| 225 const char kPassword[] = "Password"; | 228 const char kPassword[] = "Password"; | 
| 226 const char kSaveCredentials[] = "SaveCredentials"; | 229 const char kSaveCredentials[] = "SaveCredentials"; | 
| 227 const char kServerCAPEMs[] = "ServerCAPEMs"; | 230 const char kServerCAPEMs[] = "ServerCAPEMs"; | 
| 228 const char kServerCARef[] = "ServerCARef"; | 231 const char kServerCARef[] = "ServerCARef"; | 
| 229 const char kServerCARefs[] = "ServerCARefs"; | 232 const char kServerCARefs[] = "ServerCARefs"; | 
| 230 const char kUseSystemCAs[] = "UseSystemCAs"; | 233 const char kUseSystemCAs[] = "UseSystemCAs"; | 
| 231 }  // namespace eap | 234 }  // namespace eap | 
| 232 | 235 | 
| 233 namespace vpn { | 236 namespace vpn { | 
| 234 const char kAutoConnect[] = "AutoConnect"; | 237 const char kAutoConnect[] = "AutoConnect"; | 
| 235 const char kClientCertPattern[] = "ClientCertPattern"; |  | 
| 236 const char kClientCertRef[] = "ClientCertRef"; |  | 
| 237 const char kClientCertType[] = "ClientCertType"; |  | 
| 238 const char kHost[] = "Host"; | 238 const char kHost[] = "Host"; | 
| 239 const char kIPsec[] = "IPsec"; | 239 const char kIPsec[] = "IPsec"; | 
| 240 const char kL2TP[] = "L2TP"; | 240 const char kL2TP[] = "L2TP"; | 
| 241 const char kOpenVPN[] = "OpenVPN"; | 241 const char kOpenVPN[] = "OpenVPN"; | 
| 242 const char kPassword[] = "Password"; | 242 const char kPassword[] = "Password"; | 
| 243 const char kSaveCredentials[] = "SaveCredentials"; | 243 const char kSaveCredentials[] = "SaveCredentials"; | 
| 244 const char kTypeL2TP_IPsec[] = "L2TP-IPsec"; | 244 const char kTypeL2TP_IPsec[] = "L2TP-IPsec"; | 
| 245 const char kType[] = "Type"; | 245 const char kType[] = "Type"; | 
| 246 const char kUsername[] = "Username"; | 246 const char kUsername[] = "Username"; | 
| 247 }  // namespace vpn | 247 }  // namespace vpn | 
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 325 const char kLoginIDField[] = "${LOGIN_ID}"; | 325 const char kLoginIDField[] = "${LOGIN_ID}"; | 
| 326 const char kEmailField[] = "${LOGIN_EMAIL}"; | 326 const char kEmailField[] = "${LOGIN_EMAIL}"; | 
| 327 }  // namespace substitutes | 327 }  // namespace substitutes | 
| 328 | 328 | 
| 329 namespace global_network_config { | 329 namespace global_network_config { | 
| 330 const char kAllowOnlyPolicyNetworksToAutoconnect[] = | 330 const char kAllowOnlyPolicyNetworksToAutoconnect[] = | 
| 331     "AllowOnlyPolicyNetworksToAutoconnect"; | 331     "AllowOnlyPolicyNetworksToAutoconnect"; | 
| 332 }  // global_network_config | 332 }  // global_network_config | 
| 333 | 333 | 
| 334 }  // namespace onc | 334 }  // namespace onc | 
| OLD | NEW | 
|---|