tree: e32962ae51d7620f7e613c595110d4c522052e09 [path history] [tgz]
  1. activity/
  2. android/
  3. app/
  4. base/
  5. bindings/
  6. browser/
  7. build/
  8. common/
  9. crash/
  10. crypto/
  11. device/
  12. external_mojo/
  13. fuchsia/
  14. graphics/
  15. media/
  16. metrics/
  17. net/
  18. public/
  19. renderer/
  20. service/
  21. system/
  22. tools/
  23. tracing/
  24. utility/
  25. __init__.py
  26. BUILD.gn
  27. cast_shell.cmx
  28. chromecast.gni
  29. DEPS
  30. OWNERS
  31. README.md
  32. typemaps.gni
chromecast/README.md

Cast base

cast_features

This file contains tools for checking the feature state of all of the features which affect Cast products. Cast features build upon the Chrome feature system. Some aspects of Cast require the feature system to work differently, however, so some additional logic has been layered on top. Details are available in comments of the header file. The basics are:

  • If you are adding a new feature, add it to cast_features.cc so it lives alongside existing features
  • Add your new feature to the list of kFeatures in cast_features.cc
const base::Feature kMyFeature{"my_feature", base::FEATURE_DISABLED_BY_DEFAULT};


const base::Feature* kFeatures[] = {
  // ..other features
  &kMyFeature
}