0
Files
src/chromecast
Antonio Rivera 8bb4654c92 Hide core_runtime_starboard symbols when PartitionAlloc is disabled.
This is safer when building core_runtime_starboard for partners, as it
reduces the chances of partner code unintentionally calling into cast
code.

Tested:
Built core_runtime_starboard and cast to gLinux

Bug: None
Change-Id: Iac5435e6d7d4405fec903e94ea5a3954f45d02e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5958300
Commit-Queue: Antonio Rivera <antoniori@google.com>
Reviewed-by: Vigen Issahhanjan <vigeni@google.com>
Cr-Commit-Position: refs/heads/main@{#1374749}
2024-10-28 18:27:25 +00:00
..
2024-10-01 23:23:00 +00:00
2024-10-03 22:12:46 +00:00
2024-09-16 16:48:46 +00:00
2024-10-26 06:43:42 +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
}