OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 CHROMEOS_NETWORK_TETHER_CONSTANTS_H_ | 4 #ifndef CHROMEOS_NETWORK_TETHER_CONSTANTS_H_ |
5 #define CHROMEOS_NETWORK_TETHER_CONSTANTS_H_ | 5 #define CHROMEOS_NETWORK_TETHER_CONSTANTS_H_ |
6 | 6 |
| 7 #include "base/values.h" |
7 #include "chromeos/chromeos_export.h" | 8 #include "chromeos/chromeos_export.h" |
8 | 9 |
9 namespace chromeos { | 10 namespace chromeos { |
10 | 11 |
11 // This file contains constants for Chrome OS tether networks which are used | 12 // This file contains constants for Chrome OS tether networks which are used |
12 // wherever Shill constants are appropriate. Tether networks are a Chrome OS | 13 // wherever Shill constants are appropriate. Tether networks are a Chrome OS |
13 // concept which does not exist as part of Shill, so these custom definitions | 14 // concept which does not exist as part of Shill, so these custom definitions |
14 // are used instead. Tether networks are never intended to be passed to Shill | 15 // are used instead. Tether networks are never intended to be passed to Shill |
15 // code, so these constants are used primarily as part of NetworkStateHandler. | 16 // code, so these constants are used primarily as part of NetworkStateHandler. |
16 | 17 |
17 // Represents the tether network type. | 18 // Represents the tether network type. |
18 CHROMEOS_EXPORT extern const char kTypeTether[]; | 19 CHROMEOS_EXPORT extern const char kTypeTether[]; |
19 | 20 |
20 // Properties associated with tether networks. | 21 // Properties associated with tether networks. |
21 CHROMEOS_EXPORT extern const char kTetherBatteryPercentage[]; | 22 CHROMEOS_EXPORT extern const char kTetherBatteryPercentage[]; |
22 CHROMEOS_EXPORT extern const char kTetherCarrier[]; | 23 CHROMEOS_EXPORT extern const char kTetherCarrier[]; |
23 CHROMEOS_EXPORT extern const char kTetherSignalStrength[]; | 24 CHROMEOS_EXPORT extern const char kTetherSignalStrength[]; |
24 | 25 |
25 // The device path used for the tether DeviceState. | 26 // The device path used for the tether DeviceState. |
26 CHROMEOS_EXPORT extern const char kTetherDevicePath[]; | 27 CHROMEOS_EXPORT extern const char kTetherDevicePath[]; |
27 | 28 |
28 // The name used for the tether DeviceState. | 29 // The name used for the tether DeviceState. |
29 CHROMEOS_EXPORT extern const char kTetherDeviceName[]; | 30 CHROMEOS_EXPORT extern const char kTetherDeviceName[]; |
30 | 31 |
31 } // namespace chromeos | 32 } // namespace chromeos |
32 | 33 |
33 #endif // CHROMEOS_NETWORK_TETHER_CONSTANTS_H_ | 34 #endif // CHROMEOS_NETWORK_TETHER_CONSTANTS_H_ |
OLD | NEW |