0
Files
src/chromecast
Bartek Nowierski 3639bba7b2 Fully transition to bits::AlignUp, obliterate bits::Align
Change-Id: I15aba9a8e29a8c96725093f9dfe66647767c3958
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2910029
Commit-Queue: Bartek Nowierski <bartekn@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Primiano Tucci <primiano@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Owners-Override: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#885940}
2021-05-24 14:42:42 +00:00
..
2021-04-30 16:31:07 +00:00

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
}