0
Files
src/chromecast
Andrew Rayskiy 7884a7d46a [CodeHealth] Replace Value::SetKey() calls -> Dict::Set() in misc files
Bug: 1439196
Change-Id: I5f88e69e88eae322da0eb44cce61a54a4256802d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4533496
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Owners-Override: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1144519}
2023-05-16 02:09:01 +00:00
..
2023-04-25 17:23:37 +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
BASE_FEATURE(kMyFeature, "my_feature", base::FEATURE_DISABLED_BY_DEFAULT);


const base::Feature* kFeatures[] = {
  // ..other features
  &kMyFeature
}