0
Files
src/chromecast
Alan Zhao b256940e56 Remove the private field CastWebContentsImpl::parent_cast_web_contents_, which is unused
Additionally, reenable the warning as the warning shouldn't show up
anywhere else in the build.

Bug: 383016423
Cq-Include-Trybots: luci.chromium.try:linux-cast-x64-rel,linux-cast-x64-dbg
Change-Id: Icdcb0e9877f341504e62cab15f2cedc32774dda9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6115847
Reviewed-by: Nico Weber <thakis@chromium.org>
Auto-Submit: Alan Zhao <ayzhao@google.com>
Commit-Queue: Nico Weber <thakis@chromium.org>
Owners-Override: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1399523}
2024-12-21 04:52:38 -08:00
..
2024-11-04 13:50:31 +00:00
2024-12-11 02:02:13 +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
}