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

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

Issue 2844973002: [CrOS Tether] Create TetherHostResponseRecorder, which records ConnectTetheringResponses and Tether… (Closed)
Patch Set: Changed "Connectable" wording to "Connected". Created 3 years, 7 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 IDs corresponding to devices
21 // the device which has most recently replied to a ConnectTetheringRequest with 21 // which have most recently replied to a ConnectTetheringResponse with a
22 // a response code indicating that its hotspot has started up successfully. 22 // response code indicating that tethering is available. The value stored is a
23 extern const char kMostRecentConnectTetheringResponderId[]; 23 // ListValue, with the most recent response residing at the start of the list.
24 extern const char kMostRecentConnectTetheringResponderIds[];
24 25
25 // The status of the active host. The value stored for this key is the integer 26 // The status of the active host. The value stored for this key is the integer
26 // version of an ActiveHost::ActiveHostStatus enumeration value. 27 // version of an ActiveHost::ActiveHostStatus enumeration value.
27 extern const char kActiveHostStatus[]; 28 extern const char kActiveHostStatus[];
28 29
29 // The device ID of the active host. If there is no active host, the value at 30 // The device ID of the active host. If there is no active host, the value at
30 // this key is "". 31 // this key is "".
31 extern const char kActiveHostDeviceId[]; 32 extern const char kActiveHostDeviceId[];
32 33
33 // The tether network GUID of the active host. If there is no active host, the 34 // The tether network GUID of the active host. If there is no active host, the
34 // value at this key is "". 35 // value at this key is "".
35 extern const char kTetherNetworkGuid[]; 36 extern const char kTetherNetworkGuid[];
36 37
37 // The Wi-Fi network GUID of the active host. If there is no active host, the 38 // The Wi-Fi network GUID of the active host. If there is no active host, the
38 // value at this key is "". 39 // value at this key is "".
39 extern const char kWifiNetworkGuid[]; 40 extern const char kWifiNetworkGuid[];
40 41
41 } // namespace prefs 42 } // namespace prefs
42 43
43 } // namespace tether 44 } // namespace tether
44 45
45 } // namespace chromeos 46 } // namespace chromeos
46 47
47 #endif // CHROMEOS_COMPONENTS_TETHER_PREF_NAMES_H_ 48 #endif // CHROMEOS_COMPONENTS_TETHER_PREF_NAMES_H_
OLDNEW
« no previous file with comments | « chromeos/components/tether/mock_tether_host_response_recorder.cc ('k') | chromeos/components/tether/pref_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698