
Classes that derive from this can choose to store these pointers in private members, initialized at construction. Merge-With: eureka-internal/480348 Bug: Internal b/138199589 Test: Build internal chromecast binaries and tests Change-Id: I84723d6d298c9453d43c92ffd9f05b136d774b43 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518715 Auto-Submit: Simeon Anfinrud <sanfin@chromium.org> Commit-Queue: Luke Halliwell (slow) <halliwell@chromium.org> Reviewed-by: Luke Halliwell (slow) <halliwell@chromium.org> Cr-Commit-Position: refs/heads/master@{#824179}
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
incast_features.cc
const base::Feature kMyFeature{"my_feature", base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature* kFeatures[] = {
// ..other features
&kMyFeature
}