0
Files
src/chromecast
Antonio Rivera 1f91c91610 Copy starboard cast code into chromium (part 8 of 8).
Contains MediaPipelineBackendStarboard and an implementation of
CastMediaShlib that creates the backend. Also has minor fixes to
test code.

This is part of the work to get cast on starboard building out of
chromium. See go/moving-cwr-to-chromium for more information on the
high-level goal.

Bug: b:333571227
Change-Id: I7480ec9bb295e62a03df080cd525f739ea0b4fc0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5445992
Reviewed-by: Yuchen Liu <yucliu@chromium.org>
Reviewed-by: Shawn Quereshi <shawnq@google.com>
Commit-Queue: Antonio Rivera <antoniori@google.com>
Cr-Commit-Position: refs/heads/main@{#1290905}
2024-04-22 21:45:33 +00:00
..
2024-04-12 07:58:31 +00:00
2024-03-28 22:19:03 +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
}