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 23 matching lines...) Expand all Loading... |
34 // Network Configuration | 34 // Network Configuration |
35 namespace network_config { | 35 namespace network_config { |
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"; | |
45 const char kConnectionState[] = "ConnectionState"; | 44 const char kConnectionState[] = "ConnectionState"; |
| 45 const char kConnectable[] = "Connectable"; |
| 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 const char kLoginIDField[] = "${LOGIN_ID}"; | 318 const char kLoginIDField[] = "${LOGIN_ID}"; |
318 const char kEmailField[] = "${LOGIN_EMAIL}"; | 319 const char kEmailField[] = "${LOGIN_EMAIL}"; |
319 } // namespace substitutes | 320 } // namespace substitutes |
320 | 321 |
321 namespace global_network_config { | 322 namespace global_network_config { |
322 const char kAllowOnlyPolicyNetworksToAutoconnect[] = | 323 const char kAllowOnlyPolicyNetworksToAutoconnect[] = |
323 "AllowOnlyPolicyNetworksToAutoconnect"; | 324 "AllowOnlyPolicyNetworksToAutoconnect"; |
324 } // global_network_config | 325 } // global_network_config |
325 | 326 |
326 } // namespace onc | 327 } // namespace onc |
OLD | NEW |