Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: chromeos/network/tether_constants.h

Issue 2818593003: [CrOS Tether] Add tether network properties (battery percentage, carrier, and signal strength) to t… (Closed)
Patch Set: Ran git cl format. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/network/onc/onc_validator_unittest.cc ('k') | chromeos/network/tether_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chromeos/network/onc/onc_validator_unittest.cc ('k') | chromeos/network/tether_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698