tree: 771082f7fd3cba343a95cfd4a173c4ca851db8cb [path history] [tgz]
  1. ambient_animation_theme.cc
  2. ambient_animation_theme.h
  3. app_types.h
  4. ash_constants.cc
  5. ash_constants.h
  6. ash_features.cc
  7. ash_features.h
  8. ash_paths.cc
  9. ash_paths.h
  10. ash_pref_names.cc
  11. ash_pref_names.h
  12. ash_switches.cc
  13. ash_switches.h
  14. BUILD.gn
  15. DEPS
  16. devicetype.cc
  17. devicetype.h
  18. OWNERS
  19. README.md
  20. url_constants.cc
  21. 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.