pref_names.cc 1.2 KB

123456789101112131415161718192021222324252627282930
  1. // Copyright 2021 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 "components/account_manager_core/pref_names.h"
  5. namespace account_manager {
  6. namespace prefs {
  7. // A boolean pref to store if Secondary Google Account additions are allowed on
  8. // Chrome OS Account Manager. The default value is |true|, i.e. Secondary Google
  9. // Account additions are allowed by default.
  10. const char kSecondaryGoogleAccountSigninAllowed[] =
  11. "account_manager.secondary_google_account_signin_allowed";
  12. // A boolean pref to store the list of accounts and their availability in ARC in
  13. // the format: {string gaia_id, bool is_available_in_arc}.
  14. const char kAccountAppsAvailability[] =
  15. "account_manager.account_apps_availability";
  16. // Keys for `kAccountAppsAvailability`.
  17. const char kIsAvailableInArcKey[] = "is_available_in_arc";
  18. // Decides whether a Enterprise account can be added to a session as a Secondary
  19. // Account at OS level.
  20. const char kSecondaryGoogleAccountUsage[] =
  21. "account_manager.secondary_google_account_usage";
  22. } // namespace prefs
  23. } // namespace account_manager