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 #ifndef COMPONENTS_ONC_ONC_CONSTANTS_H_ | 4 #ifndef COMPONENTS_ONC_ONC_CONSTANTS_H_ |
5 #define COMPONENTS_ONC_ONC_CONSTANTS_H_ | 5 #define COMPONENTS_ONC_ONC_CONSTANTS_H_ |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "components/onc/onc_export.h" | 9 #include "components/onc/onc_export.h" |
10 | 10 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 ONC_EXPORT extern const char kVPN[]; | 72 ONC_EXPORT extern const char kVPN[]; |
73 ONC_EXPORT extern const char kWiFi[]; | 73 ONC_EXPORT extern const char kWiFi[]; |
74 | 74 |
75 ONC_EXPORT extern std::string CellularProperty(const std::string& property); | 75 ONC_EXPORT extern std::string CellularProperty(const std::string& property); |
76 ONC_EXPORT extern std::string VpnProperty(const std::string& property); | 76 ONC_EXPORT extern std::string VpnProperty(const std::string& property); |
77 ONC_EXPORT extern std::string WifiProperty(const std::string& property); | 77 ONC_EXPORT extern std::string WifiProperty(const std::string& property); |
78 | 78 |
79 } // namespace network_config | 79 } // namespace network_config |
80 | 80 |
81 namespace network_type { | 81 namespace network_type { |
82 ONC_EXPORT extern const char kAllTypes[]; | |
83 ONC_EXPORT extern const char kCellular[]; | 82 ONC_EXPORT extern const char kCellular[]; |
84 ONC_EXPORT extern const char kEthernet[]; | 83 ONC_EXPORT extern const char kEthernet[]; |
85 ONC_EXPORT extern const char kVPN[]; | 84 ONC_EXPORT extern const char kVPN[]; |
86 ONC_EXPORT extern const char kWiFi[]; | 85 ONC_EXPORT extern const char kWiFi[]; |
| 86 ONC_EXPORT extern const char kWimax[]; |
| 87 // Patterns matching multiple types, not part of the ONC spec. |
| 88 ONC_EXPORT extern const char kAllTypes[]; |
| 89 ONC_EXPORT extern const char kWireless[]; |
87 } // namespace network_type | 90 } // namespace network_type |
88 | 91 |
89 namespace cellular { | 92 namespace cellular { |
90 ONC_EXPORT extern const char kActivateOverNonCellularNetwork[]; | 93 ONC_EXPORT extern const char kActivateOverNonCellularNetwork[]; |
91 ONC_EXPORT extern const char kActivationState[]; | 94 ONC_EXPORT extern const char kActivationState[]; |
92 ONC_EXPORT extern const char kAllowRoaming[]; | 95 ONC_EXPORT extern const char kAllowRoaming[]; |
93 ONC_EXPORT extern const char kAPN[]; | 96 ONC_EXPORT extern const char kAPN[]; |
94 ONC_EXPORT extern const char kAPNList[]; | 97 ONC_EXPORT extern const char kAPNList[]; |
95 ONC_EXPORT extern const char kCarrier[]; | 98 ONC_EXPORT extern const char kCarrier[]; |
96 ONC_EXPORT extern const char kESN[]; | 99 ONC_EXPORT extern const char kESN[]; |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 ONC_EXPORT extern const char kWPAD[]; | 340 ONC_EXPORT extern const char kWPAD[]; |
338 } // namespace proxy | 341 } // namespace proxy |
339 | 342 |
340 namespace global_network_config { | 343 namespace global_network_config { |
341 ONC_EXPORT extern const char kAllowOnlyPolicyNetworksToAutoconnect[]; | 344 ONC_EXPORT extern const char kAllowOnlyPolicyNetworksToAutoconnect[]; |
342 } // global_network_config | 345 } // global_network_config |
343 | 346 |
344 } // namespace onc | 347 } // namespace onc |
345 | 348 |
346 #endif // COMPONENTS_ONC_ONC_CONSTANTS_H_ | 349 #endif // COMPONENTS_ONC_ONC_CONSTANTS_H_ |
OLD | NEW |