summaryrefslogtreecommitdiffstats
path: root/components/onc/onc_constants.cc
diff options
context:
space:
mode:
authorpneubeck <pneubeck@chromium.org>2014-09-18 08:31:40 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-18 15:31:53 +0000
commita901ffa9729db84945b44831ce2aacf48dea5bec (patch)
treec2f772baa27315aec34883a1ee80e4ba5cc260de /components/onc/onc_constants.cc
parentffe70eca0f81753c11052b9229128f72d49c45ea (diff)
downloadchromium_src-a901ffa9729db84945b44831ce2aacf48dea5bec.zip
chromium_src-a901ffa9729db84945b44831ce2aacf48dea5bec.tar.gz
chromium_src-a901ffa9729db84945b44831ce2aacf48dea5bec.tar.bz2
Add Wimax to ONC.
This adds the object "WiMAX" to ONC, which contains the basic properties AutoConnect (read/write) EAP (write-only) SignalStrength (read-only). Also all general network properties like Name or ConnectionState are supported. BUG=414417 Review URL: https://codereview.chromium.org/578823003 Cr-Commit-Position: refs/heads/master@{#295467}
Diffstat (limited to 'components/onc/onc_constants.cc')
-rw-r--r--components/onc/onc_constants.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/components/onc/onc_constants.cc b/components/onc/onc_constants.cc
index 1570681..c4ea339 100644
--- a/components/onc/onc_constants.cc
+++ b/components/onc/onc_constants.cc
@@ -58,6 +58,7 @@ const char kStaticIPConfig[] = "StaticIPConfig";
const char kType[] = "Type";
const char kVPN[] = "VPN";
const char kWiFi[] = "WiFi";
+const char kWimax[] = "WiMAX";
std::string CellularProperty(const std::string& property) {
return std::string(kCellular) + "." + property;
@@ -79,7 +80,7 @@ const char kCellular[] = "Cellular";
const char kEthernet[] = "Ethernet";
const char kVPN[] = "VPN";
const char kWiFi[] = "WiFi";
-const char kWimax[] = "Wimax";
+const char kWimax[] = "WiMAX";
const char kWireless[] = "Wireless";
} // namespace network_type
@@ -183,7 +184,6 @@ const char kFrequency[] = "Frequency";
const char kFrequencyList[] = "FrequencyList";
const char kHiddenSSID[] = "HiddenSSID";
const char kPassphrase[] = "Passphrase";
-const char kProxyURL[] = "ProxyURL";
const char kSSID[] = "SSID";
const char kSecurity[] = "Security";
const char kSecurityNone[] = "None";
@@ -195,6 +195,12 @@ const char kWPA_PSK[] = "WPA-PSK";
const char kWPA2_PSK[] = "WPA2-PSK";
} // namespace wifi
+namespace wimax {
+const char kAutoConnect[] = "AutoConnect";
+const char kEAP[] = "EAP";
+const char kSignalStrength[] = "SignalStrength";
+} // namespace wimax
+
namespace client_cert {
const char kClientCertPattern[] = "ClientCertPattern";
const char kClientCertRef[] = "ClientCertRef";