0
Files
src/chromecast
Peter Boström 8310f0f31b Replace logging::LOG_FATAL with LOGGING_
Old alias is deprecated. Will be removed in a separate CL to avoid
broader rollbacks in case I missed one or this is inadvertently used
outside src/.

Bug: 849450
Change-Id: I35d0f03cd750ef5def74f9bcdf626041847e4014
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5167919
Commit-Queue: Peter Boström <pbos@chromium.org>
Owners-Override: Lei Zhang <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1243437}
2024-01-05 15:57:39 +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
}