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

Side by Side Diff: chrome/browser/chromeos/cros/onc_constants.cc

Issue 10944009: Implementation of ONC signature, validator and normalizer. (Closed) Base URL: http://git.chromium.org/chromium/src.git@gperffix
Patch Set: Addressed comments (formatting, sorting). Minor change in policy.onc. Created 8 years, 2 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
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 #include "chrome/browser/chromeos/cros/onc_constants.h" 5 #include "chrome/browser/chromeos/cros/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 {
11 11
12 const char kEthernet[] = "Ethernet"; 12 const char kEthernet[] = "Ethernet";
13 const char kGUID[] = "GUID"; 13 const char kGUID[] = "GUID";
14 const char kIPConfigs[] = "IPConfigs";
14 const char kName[] = "Name"; 15 const char kName[] = "Name";
15 const char kNetworkConfiguration[] = "NetworkConfiguration"; 16 const char kNetworkConfiguration[] = "NetworkConfiguration";
16 const char kProxySettings[] = "ProxySettings"; 17 const char kProxySettings[] = "ProxySettings";
17 const char kRecommended[] = "Recommended"; 18 const char kRecommended[] = "Recommended";
18 const char kRemove[] = "Remove"; 19 const char kRemove[] = "Remove";
19 const char kType[] = "Type"; 20 const char kType[] = "Type";
20 const char kVPN[] = "VPN"; 21 const char kVPN[] = "VPN";
21 const char kWiFi[] = "WiFi"; 22 const char kWiFi[] = "WiFi";
22 23
23 namespace ethernet { 24 namespace ethernet {
24 const char kAuthentication[] = "Authentication"; 25 const char kAuthentication[] = "Authentication";
25 const char kEAP[] = "EAP"; 26 const char kEAP[] = "EAP";
26 } // namespace ethernet 27 } // namespace ethernet
27 28
29 namespace ipconfig {
30 const char kIPAddress[] = "IPAddress";
31 const char kType[] = "Type";
32 } // namespace ipconfig
33
28 namespace wifi { 34 namespace wifi {
29 const char kAutoConnect[] = "AutoConnect"; 35 const char kAutoConnect[] = "AutoConnect";
30 const char kEAP[] = "EAP"; 36 const char kEAP[] = "EAP";
31 const char kHiddenSSID[] = "HiddenSSID"; 37 const char kHiddenSSID[] = "HiddenSSID";
32 const char kPassphrase[] = "Passphrase"; 38 const char kPassphrase[] = "Passphrase";
33 const char kProxyURL[] = "ProxyURL"; 39 const char kProxyURL[] = "ProxyURL";
34 const char kSSID[] = "SSID"; 40 const char kSSID[] = "SSID";
35 const char kSecurity[] = "Security"; 41 const char kSecurity[] = "Security";
36 } // namespace wifi 42 } // namespace wifi
37 43
(...skipping 30 matching lines...) Expand all
68 const char kAuthNoCache[] = "AuthNoCache"; 74 const char kAuthNoCache[] = "AuthNoCache";
69 const char kAuthRetry[] = "AuthRetry"; 75 const char kAuthRetry[] = "AuthRetry";
70 const char kAuth[] = "Auth"; 76 const char kAuth[] = "Auth";
71 const char kAuthenticationType[] = "AuthenticationType"; 77 const char kAuthenticationType[] = "AuthenticationType";
72 const char kCipher[] = "Cipher"; 78 const char kCipher[] = "Cipher";
73 const char kClientCertPattern[] = "ClientCertPattern"; 79 const char kClientCertPattern[] = "ClientCertPattern";
74 const char kClientCertRef[] = "ClientCertRef"; 80 const char kClientCertRef[] = "ClientCertRef";
75 const char kClientCertType[] = "ClientCertType"; 81 const char kClientCertType[] = "ClientCertType";
76 const char kCompLZO[] = "CompLZO"; 82 const char kCompLZO[] = "CompLZO";
77 const char kCompNoAdapt[] = "CompNoAdapt"; 83 const char kCompNoAdapt[] = "CompNoAdapt";
84 const char kEAP[] = "EAP";
78 const char kGroup[] = "Group"; 85 const char kGroup[] = "Group";
79 const char kHost[] = "Host"; 86 const char kHost[] = "Host";
80 const char kIKEVersion[] = "IKEVersion"; 87 const char kIKEVersion[] = "IKEVersion";
81 const char kIPsec[] = "IPsec"; 88 const char kIPsec[] = "IPsec";
82 const char kKeyDirection[] = "KeyDirection"; 89 const char kKeyDirection[] = "KeyDirection";
83 const char kL2TP[] = "L2TP"; 90 const char kL2TP[] = "L2TP";
84 const char kNsCertType[] = "NsCertType"; 91 const char kNsCertType[] = "NsCertType";
85 const char kOpenVPN[] = "OpenVPN"; 92 const char kOpenVPN[] = "OpenVPN";
86 const char kPSK[] = "PSK"; 93 const char kPSK[] = "PSK";
87 const char kPassword[] = "Password"; 94 const char kPassword[] = "Password";
88 const char kPort[] = "Port"; 95 const char kPort[] = "Port";
89 const char kProto[] = "Proto"; 96 const char kProto[] = "Proto";
90 const char kPushPeerInfo[] = "PushPeerInfo"; 97 const char kPushPeerInfo[] = "PushPeerInfo";
91 const char kRemoteCertEKU[] = "RemoteCertEKU"; 98 const char kRemoteCertEKU[] = "RemoteCertEKU";
92 const char kRemoteCertKU[] = "RemoteCertKU"; 99 const char kRemoteCertKU[] = "RemoteCertKU";
93 const char kRemoteCertTLS[] = "RemoteCertTLS"; 100 const char kRemoteCertTLS[] = "RemoteCertTLS";
94 const char kRenegSec[] = "RenegSec"; 101 const char kRenegSec[] = "RenegSec";
95 const char kSaveCredentials[] = "SaveCredentials"; 102 const char kSaveCredentials[] = "SaveCredentials";
96 const char kServerCARef[] = "ServerCARef"; 103 const char kServerCARef[] = "ServerCARef";
97 const char kServerCertRef[] = "ServerCertRef"; 104 const char kServerCertRef[] = "ServerCertRef";
98 const char kServerPollTimeout[] = "ServerPollTimeout"; 105 const char kServerPollTimeout[] = "ServerPollTimeout";
99 const char kShaper[] = "Shaper"; 106 const char kShaper[] = "Shaper";
100 const char kStaticChallenge[] = "StaticChallenge"; 107 const char kStaticChallenge[] = "StaticChallenge";
101 const char kTLSAuthContents[] = "TLSAuthContents"; 108 const char kTLSAuthContents[] = "TLSAuthContents";
102 const char kTLSRemote[] = "TLSRemote"; 109 const char kTLSRemote[] = "TLSRemote";
103 const char kType[] = "Type"; 110 const char kType[] = "Type";
104 const char kUsername[] = "Username"; 111 const char kUsername[] = "Username";
112 const char kXAUTH[] = "XAUTH";
105 } // namespace vpn 113 } // namespace vpn
106 114
107 namespace proxy { 115 namespace proxy {
108 const char kDirect[] = "Direct"; 116 const char kDirect[] = "Direct";
109 const char kExcludeDomains[] = "ExcludeDomains"; 117 const char kExcludeDomains[] = "ExcludeDomains";
110 const char kFtp[] = "FTPProxy"; 118 const char kFtp[] = "FTPProxy";
111 const char kHost[] = "Host"; 119 const char kHost[] = "Host";
112 const char kHttp[] = "HTTPProxy"; 120 const char kHttp[] = "HTTPProxy";
113 const char kHttps[] = "SecureHTTPProxy"; 121 const char kHttps[] = "SecureHTTPProxy";
114 const char kManual[] = "Manual"; 122 const char kManual[] = "Manual";
115 const char kPAC[] = "PAC"; 123 const char kPAC[] = "PAC";
116 const char kPort[] = "Port"; 124 const char kPort[] = "Port";
117 const char kSocks[] = "SOCKS"; 125 const char kSocks[] = "SOCKS";
118 const char kType[] = "Type"; 126 const char kType[] = "Type";
119 const char kWPAD[] = "WPAD"; 127 const char kWPAD[] = "WPAD";
120 } // namespace proxy 128 } // namespace proxy
121 129
122 namespace substitutes { 130 namespace substitutes {
123 const char kLoginIDField[] = "${LOGIN_ID}"; 131 const char kLoginIDField[] = "${LOGIN_ID}";
124 const char kEmailField[] = "${LOGIN_EMAIL}"; 132 const char kEmailField[] = "${LOGIN_EMAIL}";
125 } // namespace substitutes 133 } // namespace substitutes
126 134
127 } // namespace onc 135 } // namespace onc
128 136
129 } // namespace chromeos 137 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698