Movatterモバイル変換


[0]ホーム

URL:


Google Git
Sign in
chromium /chromium /src /refs/heads/main /. /chromecast
tree: fabe2938fee67c002ae37c3053c8b92f8061f6bd [path history][tgz]
  1. activity/
  2. android/
  3. app/
  4. base/
  5. bindings/
  6. browser/
  7. build/
  8. cast_core/
  9. common/
  10. crash/
  11. crypto/
  12. device/
  13. external_mojo/
  14. fuchsia/
  15. gpu/
  16. graphics/
  17. media/
  18. metrics/
  19. mojo/
  20. net/
  21. public/
  22. renderer/
  23. resource_sizes/
  24. service/
  25. shared/
  26. starboard/
  27. system/
  28. tools/
  29. tracing/
  30. ui/
  31. __init__.py
  32. BUILD.gn
  33. chromecast.gni
  34. CHROMECAST_OWNERS
  35. DEPS
  36. DIR_METADATA
  37. OWNERS
  38. README.md
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 uponthe 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 tocast_features.cc so it lives alongside existing features
  • Add your new feature to the list ofkFeatures incast_features.cc
BASE_FEATURE(kMyFeature,"my_feature",base::FEATURE_DISABLED_BY_DEFAULT);constbase::Feature* kFeatures[]={// ..other features&kMyFeature}

[8]ページ先頭

©2009-2025 Movatter.jp