pref_names.cc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Copyright 2020 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/permissions/pref_names.h"
  5. #include "build/build_config.h"
  6. namespace permissions {
  7. namespace prefs {
  8. // List containing a history of past permission actions, for all permission
  9. // types.
  10. const char kPermissionActions[] = "profile.content_settings.permission_actions";
  11. #if BUILDFLAG(IS_ANDROID)
  12. // The current level of backoff for showing the location settings dialog for the
  13. // default search engine.
  14. const char kLocationSettingsBackoffLevelDSE[] =
  15. "location_settings_backoff_level_dse";
  16. // The current level of backoff for showing the location settings dialog for
  17. // sites other than the default search engine.
  18. const char kLocationSettingsBackoffLevelDefault[] =
  19. "location_settings_backoff_level_default";
  20. // The next time the location settings dialog can be shown for the default
  21. // search engine.
  22. const char kLocationSettingsNextShowDSE[] = "location_settings_next_show_dse";
  23. // The next time the location settings dialog can be shown for sites other than
  24. // the default search engine.
  25. const char kLocationSettingsNextShowDefault[] =
  26. "location_settings_next_show_default";
  27. #endif
  28. } // namespace prefs
  29. } // namespace permissions