tree: 1750d60c92d92d0b2ee2653590f596c75933d793 [path history] [tgz]
  1. ash_constants.cc
  2. ash_constants.h
  3. ash_features.cc
  4. ash_features.h
  5. ash_paths.cc
  6. ash_paths.h
  7. ash_pref_names.cc
  8. ash_pref_names.h
  9. ash_switches.cc
  10. ash_switches.h
  11. BUILD.gn
  12. DEPS
  13. devicetype.cc
  14. devicetype.h
  15. OWNERS
  16. README.md
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.