
Cleans up methods that are now unnecessary due to increase of minSdkVersion, as well as some remnants of having to manually outline to avoid dex verification failures. Low-Coverage-Reason: Just inlining methods. Bug: 40825179 Change-Id: I81ca2a5433f347b3b7f8bca6ea70b8db8dfdb1a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5738679 Auto-Submit: Andrew Grieve <agrieve@chromium.org> Owners-Override: Andrew Grieve <agrieve@chromium.org> Commit-Queue: Andrew Grieve <agrieve@chromium.org> Reviewed-by: Sam Maier <smaier@chromium.org> Cr-Commit-Position: refs/heads/main@{#1334309}
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
BASE_FEATURE(kMyFeature, "my_feature", base::FEATURE_DISABLED_BY_DEFAULT);
const base::Feature* kFeatures[] = {
// ..other features
&kMyFeature
}