0
Files
src/chromecast
Nico Weber 165c59e92f Reformat all gn files in /chromecast/external_mojo.
`gn format` recently changed its formatting behavior
for deps, source, and a few other elements when they
are assigned (with =) single-element lists to be consistent
with the formatting of updates (with +=) with single-element.

Now that we've rolled in a GN binary with the change,
reformat all files so that people don't get presubmit
warnings due to this.

This CL was uploaded by git cl split.

R=kmackay@chromium.org

Bug: 1041419
Change-Id: I0b718719c39034ee3b4c568a0ffffc4752e95e0b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998506
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: Kenneth MacKay <kmackay@chromium.org>
Commit-Queue: Kenneth MacKay <kmackay@chromium.org>
Cr-Commit-Position: refs/heads/master@{#730825}
2020-01-13 21:11:35 +00:00
..
2019-12-16 22:07:39 +00:00
2020-01-10 21:28:32 +00:00
2019-12-16 21:42:34 +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
const base::Feature kMyFeature{"my_feature", base::FEATURE_DISABLED_BY_DEFAULT};


const base::Feature* kFeatures[] = {
  // ..other features
  &kMyFeature
}