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

Unified Diff: chromeos/components/tether/pref_names.h

Issue 2713073002: [CrOS Tether] Create HostScanDevicePrioritizer, a class which prioritizes the order of connection a… (Closed)
Patch Set: Add dep. Created 3 years, 10 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
Index: chromeos/components/tether/pref_names.h
diff --git a/chromeos/components/tether/pref_names.h b/chromeos/components/tether/pref_names.h
new file mode 100644
index 0000000000000000000000000000000000000000..7f5b92370efecd021be33fbbb51feec4a6d00912
--- /dev/null
+++ b/chromeos/components/tether/pref_names.h
@@ -0,0 +1,31 @@
+// 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_COMPONENTS_TETHER_PREF_NAMES_H_
+#define CHROMEOS_COMPONENTS_TETHER_PREF_NAMES_H_
+
+namespace chromeos {
+
+namespace tether {
+
+namespace prefs {
+
+// Preference name for the preference which stores IDs corresponding to devices
+// which have most recently replied to a TetherAvailabilityRequest with a
+// response code indicating that tethering is available. The value stored is a
+// ListValue, with the most recent response residing at the start of the list.
+extern const char kMostRecentTetherAvailablilityResponderIds[];
+
+// Preference name for the preference which stores the ID corresponding to
+// the device which has most recently replied to a ConnectTetheringRequest with
+// a response code indicating that its hotspot has started up successfully.
+extern const char kMostRecentConnectTetheringResponderId[];
+
+} // namespace prefs
+
+} // namespace tether
+
+} // namespace chromeos
+
+#endif // CHROMEOS_COMPONENTS_TETHER_PREF_NAMES_H_
« no previous file with comments | « chromeos/components/tether/host_scan_device_prioritizer_unittest.cc ('k') | chromeos/components/tether/pref_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698