| 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 25 matching lines...) Expand all Loading... |
| 36 const char kCellular[] = "Cellular"; | 36 const char kCellular[] = "Cellular"; |
| 37 const char kEthernet[] = "Ethernet"; | 37 const char kEthernet[] = "Ethernet"; |
| 38 const char kGUID[] = "GUID"; | 38 const char kGUID[] = "GUID"; |
| 39 const char kIPConfigs[] = "IPConfigs"; | 39 const char kIPConfigs[] = "IPConfigs"; |
| 40 const char kName[] = "Name"; | 40 const char kName[] = "Name"; |
| 41 const char kNameServers[] = "NameServers"; | 41 const char kNameServers[] = "NameServers"; |
| 42 const char kProxySettings[] = "ProxySettings"; | 42 const char kProxySettings[] = "ProxySettings"; |
| 43 const char kSearchDomains[] = "SearchDomains"; | 43 const char kSearchDomains[] = "SearchDomains"; |
| 44 const char kServicePath[] = "ServicePath"; | 44 const char kServicePath[] = "ServicePath"; |
| 45 const char kConnectionState[] = "ConnectionState"; | 45 const char kConnectionState[] = "ConnectionState"; |
| 46 const char kErrorState[] = "ErrorState"; |
| 46 const char kType[] = "Type"; | 47 const char kType[] = "Type"; |
| 47 const char kVPN[] = "VPN"; | 48 const char kVPN[] = "VPN"; |
| 48 const char kWiFi[] = "WiFi"; | 49 const char kWiFi[] = "WiFi"; |
| 49 | 50 |
| 50 std::string CellularProperty(const std::string& property) { | 51 std::string CellularProperty(const std::string& property) { |
| 51 return std::string(kCellular) + "." + property; | 52 return std::string(kCellular) + "." + property; |
| 52 } | 53 } |
| 53 | 54 |
| 54 std::string VpnProperty(const std::string& property) { | 55 std::string VpnProperty(const std::string& property) { |
| 55 return std::string(kVPN) + "." + property; | 56 return std::string(kVPN) + "." + property; |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 const char kLoginIDField[] = "${LOGIN_ID}"; | 317 const char kLoginIDField[] = "${LOGIN_ID}"; |
| 317 const char kEmailField[] = "${LOGIN_EMAIL}"; | 318 const char kEmailField[] = "${LOGIN_EMAIL}"; |
| 318 } // namespace substitutes | 319 } // namespace substitutes |
| 319 | 320 |
| 320 namespace global_network_config { | 321 namespace global_network_config { |
| 321 const char kAllowOnlyPolicyNetworksToAutoconnect[] = | 322 const char kAllowOnlyPolicyNetworksToAutoconnect[] = |
| 322 "AllowOnlyPolicyNetworksToAutoconnect"; | 323 "AllowOnlyPolicyNetworksToAutoconnect"; |
| 323 } // global_network_config | 324 } // global_network_config |
| 324 | 325 |
| 325 } // namespace onc | 326 } // namespace onc |
| OLD | NEW |