0
Files
src/chromecast
Tom Sepez 265c174a88 Suppress next batch of unsafe libc call warnings
As determined largely by buildbots, land this set before
looking for remainders.

-- Exempt one directory where re-generation of a file removed
   a suppression to avoid future problems on next regeneration.

Change-Id: Ic64fafd5afebf4d74a283c7b45beb665c3f92f8f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6383916
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Alex Gough <ajgo@chromium.org>
Owners-Override: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1437194}
2025-03-24 16:43:41 -07: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
}