[go: nahoru, domu]

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