Skip to content
Branch: master
Find file History
Pull request Compare This branch is 901 commits ahead, 39741 commits behind chromium:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
activity
android
app
base
bindings
browser
build/tests
common
crash
crypto
device/bluetooth
external_mojo [ThreadPool] Move thread_pool.h to thread_pool_instance.h Aug 29, 2019
fuchsia
graphics
media
metrics
net
public
renderer
service Add AccessibilityStateChanged to CastService Mar 26, 2019
system/reboot
tools
tracing
utility
BUILD.gn
DEPS
OWNERS cast: Add dnicoara@ to OWNERS Jun 27, 2019
README.md
__init__.py [Chromecast] Add __init__.py to run py tests correctly. Oct 24, 2017
cast_shell.cmx
chromecast.gni
typemaps.gni

README.md

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
}
You can’t perform that action at this time.