OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 #ifndef CHROMEOS_NETWORK_TETHER_CONSTANTS_H_ | |
5 #define CHROMEOS_NETWORK_TETHER_CONSTANTS_H_ | |
6 | |
7 #include "chromeos/chromeos_export.h" | |
8 | |
9 namespace chromeos { | |
10 | |
11 // 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 // 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 // code, and these values are used primarily to implement the | |
stevenjb
2017/04/14 22:04:49
The real reason we uses these is that NetworkState
Kyle Horimoto
2017/04/17 21:05:11
While this solution could also work, Ryan and I ag
| |
16 // chrome.networkingPrivate API. | |
17 | |
18 // Represents the tether network type. | |
19 CHROMEOS_EXPORT extern const char kTypeTether[]; | |
20 | |
21 // Properties associated with tether networks. | |
22 CHROMEOS_EXPORT extern const char kTetherBatteryPercentage[]; | |
23 CHROMEOS_EXPORT extern const char kTetherCarrier[]; | |
24 CHROMEOS_EXPORT extern const char kTetherSignalStrength[]; | |
25 | |
26 } // namespace chromeos | |
27 | |
28 #endif // CHROMEOS_NETWORK_TETHER_CONSTANTS_H_ | |
OLD | NEW |