tree: 0d46c26d69dd464e27f1004d37b2d35ed8fa851e [path history] [tgz]
  1. ambient_time_of_day_constants.h
  2. ambient_video.cc
  3. ambient_video.h
  4. app_types.h
  5. ash_constants.cc
  6. ash_constants.h
  7. ash_features.cc
  8. ash_features.h
  9. ash_paths.cc
  10. ash_paths.h
  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. notifier_catalogs.h
  19. OWNERS
  20. personalization_entry_point.h
  21. quick_settings_catalogs.h
  22. README.md
  23. tray_background_view_catalog.h
  24. url_constants.cc
  25. 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.