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

Side by Side Diff: components/onc/onc_constants.cc

Issue 578823003: Add Wimax to ONC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Uploaded missing test files. Reverted network_state_handler change. Created 6 years, 3 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 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 const char kSourceDevice[] = "Device"; 51 const char kSourceDevice[] = "Device";
52 const char kSourceDevicePolicy[] = "DevicePolicy"; 52 const char kSourceDevicePolicy[] = "DevicePolicy";
53 const char kSourceNone[] = "None"; 53 const char kSourceNone[] = "None";
54 const char kSourceUser[] = "User"; 54 const char kSourceUser[] = "User";
55 const char kSourceUserPolicy[] = "UserPolicy"; 55 const char kSourceUserPolicy[] = "UserPolicy";
56 const char kSource[] = "Source"; 56 const char kSource[] = "Source";
57 const char kStaticIPConfig[] = "StaticIPConfig"; 57 const char kStaticIPConfig[] = "StaticIPConfig";
58 const char kType[] = "Type"; 58 const char kType[] = "Type";
59 const char kVPN[] = "VPN"; 59 const char kVPN[] = "VPN";
60 const char kWiFi[] = "WiFi"; 60 const char kWiFi[] = "WiFi";
61 const char kWimax[] = "WiMAX";
61 62
62 std::string CellularProperty(const std::string& property) { 63 std::string CellularProperty(const std::string& property) {
63 return std::string(kCellular) + "." + property; 64 return std::string(kCellular) + "." + property;
64 } 65 }
65 66
66 std::string VpnProperty(const std::string& property) { 67 std::string VpnProperty(const std::string& property) {
67 return std::string(kVPN) + "." + property; 68 return std::string(kVPN) + "." + property;
68 } 69 }
69 70
70 std::string WifiProperty(const std::string& property) { 71 std::string WifiProperty(const std::string& property) {
71 return std::string(kWiFi) + "." + property; 72 return std::string(kWiFi) + "." + property;
72 } 73 }
73 74
74 } // namespace network_config 75 } // namespace network_config
75 76
76 namespace network_type { 77 namespace network_type {
77 const char kAllTypes[] = "All"; 78 const char kAllTypes[] = "All";
78 const char kCellular[] = "Cellular"; 79 const char kCellular[] = "Cellular";
79 const char kEthernet[] = "Ethernet"; 80 const char kEthernet[] = "Ethernet";
80 const char kVPN[] = "VPN"; 81 const char kVPN[] = "VPN";
81 const char kWiFi[] = "WiFi"; 82 const char kWiFi[] = "WiFi";
82 const char kWimax[] = "Wimax"; 83 const char kWimax[] = "WiMAX";
Ben Chan 2014/09/17 22:51:38 perhaps update the variable name as well?
pneubeck (no reviews) 2014/09/18 08:50:11 Yes, I will do that in a follow up, globally repla
83 const char kWireless[] = "Wireless"; 84 const char kWireless[] = "Wireless";
84 } // namespace network_type 85 } // namespace network_type
85 86
86 namespace cellular { 87 namespace cellular {
87 const char kActivationState[] = "ActivationState"; 88 const char kActivationState[] = "ActivationState";
88 const char kActivated[] = "Activated"; 89 const char kActivated[] = "Activated";
89 const char kActivating[] = "Activating"; 90 const char kActivating[] = "Activating";
90 const char kNotActivated[] = "NotActivated"; 91 const char kNotActivated[] = "NotActivated";
91 const char kPartiallyActivated[] = "PartiallyActivated"; 92 const char kPartiallyActivated[] = "PartiallyActivated";
92 const char kActivationType[] = "ActivationType"; 93 const char kActivationType[] = "ActivationType";
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 } // namespace ipconfig 177 } // namespace ipconfig
177 178
178 namespace wifi { 179 namespace wifi {
179 const char kAutoConnect[] = "AutoConnect"; 180 const char kAutoConnect[] = "AutoConnect";
180 const char kBSSID[] = "BSSID"; 181 const char kBSSID[] = "BSSID";
181 const char kEAP[] = "EAP"; 182 const char kEAP[] = "EAP";
182 const char kFrequency[] = "Frequency"; 183 const char kFrequency[] = "Frequency";
183 const char kFrequencyList[] = "FrequencyList"; 184 const char kFrequencyList[] = "FrequencyList";
184 const char kHiddenSSID[] = "HiddenSSID"; 185 const char kHiddenSSID[] = "HiddenSSID";
185 const char kPassphrase[] = "Passphrase"; 186 const char kPassphrase[] = "Passphrase";
186 const char kProxyURL[] = "ProxyURL";
187 const char kSSID[] = "SSID"; 187 const char kSSID[] = "SSID";
188 const char kSecurity[] = "Security"; 188 const char kSecurity[] = "Security";
189 const char kSecurityNone[] = "None"; 189 const char kSecurityNone[] = "None";
190 const char kSignalStrength[] = "SignalStrength"; 190 const char kSignalStrength[] = "SignalStrength";
191 const char kWEP_8021X[] = "WEP-8021X"; 191 const char kWEP_8021X[] = "WEP-8021X";
192 const char kWEP_PSK[] = "WEP-PSK"; 192 const char kWEP_PSK[] = "WEP-PSK";
193 const char kWPA_EAP[] = "WPA-EAP"; 193 const char kWPA_EAP[] = "WPA-EAP";
194 const char kWPA_PSK[] = "WPA-PSK"; 194 const char kWPA_PSK[] = "WPA-PSK";
195 const char kWPA2_PSK[] = "WPA2-PSK"; 195 const char kWPA2_PSK[] = "WPA2-PSK";
196 } // namespace wifi 196 } // namespace wifi
197 197
198 namespace wimax {
199 const char kAutoConnect[] = "AutoConnect";
200 const char kEAP[] = "EAP";
201 const char kSignalStrength[] = "SignalStrength";
202 } // namespace wimax
203
198 namespace client_cert { 204 namespace client_cert {
199 const char kClientCertPattern[] = "ClientCertPattern"; 205 const char kClientCertPattern[] = "ClientCertPattern";
200 const char kClientCertRef[] = "ClientCertRef"; 206 const char kClientCertRef[] = "ClientCertRef";
201 const char kClientCertType[] = "ClientCertType"; 207 const char kClientCertType[] = "ClientCertType";
202 const char kClientCertTypeNone[] = "None"; 208 const char kClientCertTypeNone[] = "None";
203 const char kCommonName[] = "CommonName"; 209 const char kCommonName[] = "CommonName";
204 const char kEmailAddress[] = "EmailAddress"; 210 const char kEmailAddress[] = "EmailAddress";
205 const char kEnrollmentURI[] = "EnrollmentURI"; 211 const char kEnrollmentURI[] = "EnrollmentURI";
206 const char kIssuerCARef[] = "IssuerCARef"; 212 const char kIssuerCARef[] = "IssuerCARef";
207 const char kIssuerCAPEMs[] = "IssuerCAPEMs"; 213 const char kIssuerCAPEMs[] = "IssuerCAPEMs";
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 const char kLoginIDField[] = "${LOGIN_ID}"; 362 const char kLoginIDField[] = "${LOGIN_ID}";
357 const char kEmailField[] = "${LOGIN_EMAIL}"; 363 const char kEmailField[] = "${LOGIN_EMAIL}";
358 } // namespace substitutes 364 } // namespace substitutes
359 365
360 namespace global_network_config { 366 namespace global_network_config {
361 const char kAllowOnlyPolicyNetworksToAutoconnect[] = 367 const char kAllowOnlyPolicyNetworksToAutoconnect[] =
362 "AllowOnlyPolicyNetworksToAutoconnect"; 368 "AllowOnlyPolicyNetworksToAutoconnect";
363 } // global_network_config 369 } // global_network_config
364 370
365 } // namespace onc 371 } // namespace onc
OLDNEW
« chromeos/network/onc/onc_translation_tables.cc ('K') | « components/onc/onc_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698