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

Side by Side Diff: chromeos/components/tether/pref_names.h

Issue 2734033002: [CrOS Tether] Create the ActiveHost class, which stores metadata related to the current connection … (Closed)
Patch Set: hansberry@ comment. Created 3 years, 9 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
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 4
5 #ifndef CHROMEOS_COMPONENTS_TETHER_PREF_NAMES_H_ 5 #ifndef CHROMEOS_COMPONENTS_TETHER_PREF_NAMES_H_
6 #define CHROMEOS_COMPONENTS_TETHER_PREF_NAMES_H_ 6 #define CHROMEOS_COMPONENTS_TETHER_PREF_NAMES_H_
7 7
8 namespace chromeos { 8 namespace chromeos {
9 9
10 namespace tether { 10 namespace tether {
11 11
12 namespace prefs { 12 namespace prefs {
13 13
14 // Preference name for the preference which stores IDs corresponding to devices 14 // Preference name for the preference which stores IDs corresponding to devices
15 // which have most recently replied to a TetherAvailabilityRequest with a 15 // which have most recently replied to a TetherAvailabilityRequest with a
16 // response code indicating that tethering is available. The value stored is a 16 // response code indicating that tethering is available. The value stored is a
17 // ListValue, with the most recent response residing at the start of the list. 17 // ListValue, with the most recent response residing at the start of the list.
18 extern const char kMostRecentTetherAvailablilityResponderIds[]; 18 extern const char kMostRecentTetherAvailablilityResponderIds[];
19 19
20 // Preference name for the preference which stores the ID corresponding to 20 // Preference name for the preference which stores the ID corresponding to
21 // the device which has most recently replied to a ConnectTetheringRequest with 21 // the device which has most recently replied to a ConnectTetheringRequest with
22 // a response code indicating that its hotspot has started up successfully. 22 // a response code indicating that its hotspot has started up successfully.
23 extern const char kMostRecentConnectTetheringResponderId[]; 23 extern const char kMostRecentConnectTetheringResponderId[];
24 24
25 // The status of the active host. The value stored for this key is the integer
26 // version of an ActiveHost::ActiveHostStatus enumeration value.
27 extern const char kActiveHostStatus[];
28
29 // The device ID of the active host. If there is no active host, the value at
30 // this key is "".
31 extern const char kActiveHostDeviceId[];
32
33 // The Wi-Fi network ID of the active host. If there is no active host, the
34 // value at this key is "".
35 extern const char kWifiNetworkId[];
36
25 } // namespace prefs 37 } // namespace prefs
26 38
27 } // namespace tether 39 } // namespace tether
28 40
29 } // namespace chromeos 41 } // namespace chromeos
30 42
31 #endif // CHROMEOS_COMPONENTS_TETHER_PREF_NAMES_H_ 43 #endif // CHROMEOS_COMPONENTS_TETHER_PREF_NAMES_H_
OLDNEW
« no previous file with comments | « chromeos/components/tether/active_host_unittest.cc ('k') | chromeos/components/tether/pref_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698