0
Files
src/chromecast
Albert Chaulk a0f34f2667 Copy CastBrowserContext's destructor
ShutdownStoragePartitions needs to be called before destroying
the context sometimes due to a dcheck

Bug: b/179217534
Test: None
Change-Id: Id423bffdbe3147e20cd5bb578a3a67a05e1f9a25
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2673160
Reviewed-by: Daniel Nicoara <dnicoara@chromium.org>
Commit-Queue: Albert Chaulk <achaulk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#851192}
2021-02-05 17:54:16 +00:00
..
2020-10-07 02:28:53 +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
}