tree: d65bb4851ba711c6cd9de2f98829005baca18bcb [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. gpu/
  15. graphics/
  16. media/
  17. metrics/
  18. net/
  19. public/
  20. renderer/
  21. service/
  22. system/
  23. tools/
  24. tracing/
  25. ui/
  26. utility/
  27. __init__.py
  28. BUILD.gn
  29. cast_shell.cmx
  30. chromecast.gni
  31. DEPS
  32. OWNERS
  33. README.md
  34. 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
}