Index: chromeos/network/tether_constants.h |
diff --git a/chromeos/network/tether_constants.h b/chromeos/network/tether_constants.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..26b4f21d43cf086f2078649b2fc90da2304597d0 |
--- /dev/null |
+++ b/chromeos/network/tether_constants.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+#ifndef CHROMEOS_NETWORK_TETHER_CONSTANTS_H_ |
+#define CHROMEOS_NETWORK_TETHER_CONSTANTS_H_ |
+ |
+#include "chromeos/chromeos_export.h" |
+ |
+namespace chromeos { |
+ |
+// This file contains constants for Chrome OS tether networks which are used |
+// wherever Shill constants are appropriate. Tether networks are a Chrome OS |
+// concept which does not exist as part of Shill, so these custom definitions |
+// are used instead. Tether networks are never intended to be passed to Shill |
+// code, so these constants are used primarily as part of NetworkStateHandler. |
+ |
+// Represents the tether network type. |
+CHROMEOS_EXPORT extern const char kTypeTether[]; |
+ |
+// Properties associated with tether networks. |
+CHROMEOS_EXPORT extern const char kTetherBatteryPercentage[]; |
+CHROMEOS_EXPORT extern const char kTetherCarrier[]; |
+CHROMEOS_EXPORT extern const char kTetherSignalStrength[]; |
+ |
+} // namespace chromeos |
+ |
+#endif // CHROMEOS_NETWORK_TETHER_CONSTANTS_H_ |