tree: 7976ee09d0c32687c5a4cc6148b45ac195659454 [path history] [tgz]
  1. ambient_theme.cc
  2. ambient_theme.h
  3. ambient_video.cc
  4. ambient_video.h
  5. app_types.h
  6. ash_constants.cc
  7. ash_constants.h
  8. ash_features.cc
  9. ash_features.h
  10. ash_paths.cc
  11. ash_paths.h
  12. ash_pref_names.cc
  13. ash_pref_names.h
  14. ash_switches.cc
  15. ash_switches.h
  16. BUILD.gn
  17. DEPS
  18. devicetype.cc
  19. devicetype.h
  20. notifier_catalogs.h
  21. OWNERS
  22. personalization_entry_point.h
  23. quick_settings_catalogs.h
  24. README.md
  25. tray_background_view_catalog.h
  26. url_constants.cc
  27. url_constants.h
ash/constants/README.md

ash/constants

This directory contains constants used by Chrome OS. It is a very low-level component and should only depend on //base. It should not contain any logic, except for simple helper functions like IsFooEnabled(). For example, while it can contain pref names, it should not do pref registration, because pref registration requires a dependency on //components.

It lives in //ash because these constants are used by Chrome OS system UI as well as the current/legacy built-in chrome browser. This is “ash-chrome” in the terminology of the Lacros project.

Code in this directory used to live in //chromeos/constants. That directory is being re-purposed for constants shared between the lacros-chrome browser and the ash-chrome system UI binary. Both those binaries run on Chrome OS.