0
Files
src/chromecast
Helmut Januschka 37eba04eeb chromecast/base: base::StringPiece -> std::string_view
Bug: 691162
Change-Id: I7d0471f63cb930bfd0d8b6159a0bc05961d06cee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5253665
Commit-Queue: Helmut Januschka <helmut@januschka.com>
Reviewed-by: Daniel Nicoara <dnicoara@chromium.org>
Reviewed-by: Vigen Issahhanjan <vigeni@google.com>
Cr-Commit-Position: refs/heads/main@{#1255701}
2024-02-02 19:39:34 +00:00
..
2024-01-17 00:00:20 +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
}