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