tree: 91b8aa5e2542798bc39904706c9391f641865f18 [path history] [tgz]
  1. android/
  2. app/
  3. base/
  4. browser/
  5. build/
  6. common/
  7. crash/
  8. crypto/
  9. device/
  10. graphics/
  11. media/
  12. net/
  13. public/
  14. renderer/
  15. service/
  16. system/
  17. tools/
  18. tracing/
  19. utility/
  20. __init__.py
  21. BUILD.gn
  22. cast_shell_sandbox_policy
  23. chromecast.gni
  24. DEPS
  25. OWNERS
  26. README.md
  27. 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
}