0
Files
src/chromecast
dpapad c17883f7d1 Remove refs to Grit's output_all_resource_defines option, part 6.
In this part updating files in chromecast/

This option is no longer respected by Grit, as of crrev.com/c/786121
(~7 years ago), but it is still present in a lot of grd files.

Bug: 389466679
Change-Id: Ic38a4b6042f96585265adb6a57132f883d91d422
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6174489
Auto-Submit: Demetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: Luke Halliwell <halliwell@chromium.org>
Commit-Queue: Luke Halliwell <halliwell@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1407361}
2025-01-16 09:07:51 -08:00
..
2025-01-14 11:49:29 -08:00
2024-12-11 02:02:13 +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
}