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 kDevice[] = "Device"; | 37 const char kDevice[] = "Device"; |
38 const char kEthernet[] = "Ethernet"; | 38 const char kEthernet[] = "Ethernet"; |
39 const char kGUID[] = "GUID"; | 39 const char kGUID[] = "GUID"; |
40 const char kIPConfigs[] = "IPConfigs"; | 40 const char kIPConfigs[] = "IPConfigs"; |
41 const char kMacAddress[] = "MacAddress"; | 41 const char kMacAddress[] = "MacAddress"; |
42 const char kName[] = "Name"; | 42 const char kName[] = "Name"; |
43 const char kNameServers[] = "NameServers"; | 43 const char kNameServers[] = "NameServers"; |
| 44 const char kPriority[] = "Priority"; |
44 const char kProxySettings[] = "ProxySettings"; | 45 const char kProxySettings[] = "ProxySettings"; |
45 const char kSearchDomains[] = "SearchDomains"; | 46 const char kSearchDomains[] = "SearchDomains"; |
46 const char kConnectionState[] = "ConnectionState"; | 47 const char kConnectionState[] = "ConnectionState"; |
47 const char kConnectable[] = "Connectable"; | 48 const char kConnectable[] = "Connectable"; |
48 const char kErrorState[] = "ErrorState"; | 49 const char kErrorState[] = "ErrorState"; |
49 const char kType[] = "Type"; | 50 const char kType[] = "Type"; |
50 const char kVPN[] = "VPN"; | 51 const char kVPN[] = "VPN"; |
51 const char kWiFi[] = "WiFi"; | 52 const char kWiFi[] = "WiFi"; |
52 | 53 |
53 std::string CellularProperty(const std::string& property) { | 54 std::string CellularProperty(const std::string& property) { |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 const char kLoginIDField[] = "${LOGIN_ID}"; | 340 const char kLoginIDField[] = "${LOGIN_ID}"; |
340 const char kEmailField[] = "${LOGIN_EMAIL}"; | 341 const char kEmailField[] = "${LOGIN_EMAIL}"; |
341 } // namespace substitutes | 342 } // namespace substitutes |
342 | 343 |
343 namespace global_network_config { | 344 namespace global_network_config { |
344 const char kAllowOnlyPolicyNetworksToAutoconnect[] = | 345 const char kAllowOnlyPolicyNetworksToAutoconnect[] = |
345 "AllowOnlyPolicyNetworksToAutoconnect"; | 346 "AllowOnlyPolicyNetworksToAutoconnect"; |
346 } // global_network_config | 347 } // global_network_config |
347 | 348 |
348 } // namespace onc | 349 } // namespace onc |
OLD | NEW |