0
Files
src/chromecast
Song Fangzhen 7763922cf2 CodeHealth: Remove DictionaryValue::size()
After removing the use of DictionaryValue::size(), now
DictionaryValue::size() itself should be removed.

Bug: 1187019
Change-Id: If038d79aceb4f84b364899ce015055568d07d0a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2903417
Reviewed-by: Pavol Marko <pmarko@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Sergey Volk <servolk@chromium.org>
Auto-Submit: Fangzhen Song <songfangzhen@bytedance.com>
Commit-Queue: Sergey Volk <servolk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#886386}
2021-05-25 18:41:35 +00:00
..
2021-04-30 16:31:07 +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
}