0
Files
src/chromecast
Tsuyoshi Horo 1eeb4d66a0 Use SEQUENCE_CHECKER in CastURLLoaderThrottleProvider
We are planning to conduct an experiment to move Blink's resource
loading logic off the main thread. To run the loading logic in the
background thread using SequencedTaskRunner, we need to replace
THREAD_CHECKER in URLLoaderThrottleProvider with SEQUENCE_CHECKER.

Bug: 1410609
Change-Id: Id22f76e4ea7728ae521d0bde1bf44c433ddb7cc0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4764656
Reviewed-by: Sean Topping <seantopping@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1181758}
2023-08-09 23:26:18 +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
}