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

Side by Side 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: Tether networks connectable by default, and generated Closure compiler externs. 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698