proximity_auth_pref_names.cc 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Copyright 2015 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. #include "ash/components/proximity_auth/proximity_auth_pref_names.h"
  5. namespace proximity_auth {
  6. namespace prefs {
  7. // Whether or not the state of EasyUnlock has actively been changed, e.g.,
  8. // explicitly enabled by the user (through setup) or disabled via Settings.
  9. const char kEasyUnlockEnabledStateSet[] = "easy_unlock.enabled_state_set";
  10. // A dictionary in local state containing each user's Easy Unlock profile
  11. // preferences, so they can be accessed outside of the user's profile. The value
  12. // is a dictionary containing an entry for each user. Each user's entry mirrors
  13. // their profile's Easy Unlock preferences.
  14. const char kEasyUnlockLocalStateUserPrefs[] = "easy_unlock.user_prefs";
  15. // The timestamp of the last promotion check in milliseconds.
  16. const char kProximityAuthLastPromotionCheckTimestampMs[] =
  17. "proximity_auth.last_promotion_check_timestamp_ms";
  18. // The number of times the promotion was shown to the user.
  19. const char kProximityAuthPromotionShownCount[] =
  20. "proximity_auth.promotion_shown_count";
  21. // The dictionary containing remote BLE devices.
  22. const char kProximityAuthRemoteBleDevices[] =
  23. "proximity_auth.remote_ble_devices";
  24. // Whether or not EasyUnlock is enabled on the ChromeOS login screen (in
  25. // addition to the lock screen).
  26. const char kProximityAuthIsChromeOSLoginEnabled[] =
  27. "proximity_auth.is_chromeos_login_enabled";
  28. // The dictionary containing remote BLE devices.
  29. const char kProximityAuthHasShownLoginDisabledMessage[] =
  30. "proximity_auth.has_shown_login_disabled_message";
  31. } // namespace prefs
  32. } // namespace proximity_auth